Commit Graph

92223 Commits

Author SHA1 Message Date
Simon Lejeune 7eb9c7e1f5 [FIX] packaging: debian: include less files in MANIFEST.IN 2015-01-14 16:06:54 +01:00
Nicolas Seinlet 35a061eb0d [IMP] point_of_sale: faster loading of pos session
name_get of pos.category should use a browse instead of a read.
For a company having thousands of products and a few categories, using a browse
will greatly improve the load time as it is cached.
2015-01-14 13:45:20 +01:00
Denis Ledoux ccb4e4332e [FIX] hr_timesheet_sheet: prevent sheets overlaping
The constraint prevent sheets to overlap was broken because it relies on a check on the
user_id.  The problem is that the latter uses an old-api function field
that is not recomputed yet at the time of the validation.  The fix consists in
using a non-computed field instead.

This rev. is related to:
 - 4fb9c8f0dc
 - 6c78541978

Closes #4217
opw-620175
2015-01-14 13:35:38 +01:00
Xavier Morel 8c3d71ccb8 [CHG] Fix task 7536 / PR #499 differently
Issue was the propagation of contextual values across actions, more
precisely conserving the selected fiscal year when selecting an account
from the chart of accounts tree view: the chart of accounts tree view is
generally opened for a specific fiscal year, and it seemed sensible that
opening an account would show only the journal items for the previously
selected fiscal years rather than all items ever.

PR #649 altered action.read by tentatively evaluating the action's
context, however this has the side-effect of providing evaluated
contexts when creating or editing actions via the UI, usually breaking
them in the process (as the context at this point is basically
nonsensical for the action's purpose).

This backs out the previous fix, and creates a fix restricted to the
tree view's JS (thereby removing the feature for window actions not
invoked from a tree view).

closes #4677, closes #4690
2015-01-14 13:28:23 +01:00
Michiels Denis c5929c3f16 [IMP] Update themes.rst
Attempt to fix and clarify the guide.

I still can not get "Advanced Customization" to work.

closes ##4291
2015-01-14 13:12:28 +01:00
Raphael Collet ec25207b8f [IMP] models: force recomputation of all fields on a newly created record 2015-01-13 16:03:58 +01:00
Martin Trigaux 38fc04785a [FIX] http: log rpc.request and rpc.response handlers
The log level rec.request and rpc.response where no longer logged as
the webclient no longer uses XMLRPC but JSONRPC instead.
Duplicate the logging part from dispatch_rpc to dispatch method of JsonRequest
to add rpc logs when using JSON requests.
opw 617490
2015-01-13 15:50:29 +01:00
Denis Ledoux b4094d0998 [FIX] account: bank statement reconciliation come back
Once the bank statement reconcilation done, the back button should not come back to Home when it does not found the bank statement list in the breadcrumb history, but simply perform a history_back action, which will come back to the previous action, the statement form for instance.

opw-625397
2015-01-13 15:13:46 +01:00
David Monjoie 2d215db686 [FIX] stock_account: compute total inventory_value when no product is specified
Without this fix, the 'Total' line of the pivot view does not display any inventory value, because there is no __domain as we are not asking the inventory value for any specific product.
2015-01-13 15:04:46 +01:00
Akash Balar 88ace35fa4 [FIX] stock: putaway stategy access rights
Only admin was able to create product.putaway records. Gives all access
to warehouse manager.
If a putaway strategy was present on a location, a warehouse user was not able
to transfer goods as he had no access to the rule lines (no read to
stock.fixed.putaway.strat). Give read access. opw 619774
2015-01-13 09:42:05 +01:00
Denis Ledoux e28e01a70f [FIX] stock: colors in tree view depending on virtual available
Colors were no more applied. colors attribute from tree expects a semicolon separated string, not a dict.

Regression introduced during b414e05a41
2015-01-12 19:09:33 +01:00
Raphael Collet 5e3de76f36 [FIX] expression: use "unaccent(column::text)" instead of "unaccent(column)::text"
As unaccent() of date fields will not work
Fixes #4615
2015-01-12 17:52:26 +01:00
Pavel Tysliatski 2b59888a24 FIX] stock: search by location on history
Searching by location in stock.history failed as field name does not exists
Fixes #4650
2015-01-12 17:28:01 +01:00
David Monjoie 87e509ad8c [FIX] stock: product_packaging field domain should look for product template 2015-01-12 16:23:21 +01:00
Erwin van der Ploeg 5843a12f26 [Fix] Some missed frontend openerp to odoo changes 2015-01-12 16:17:12 +01:00
Jeremy Kersten 30a6be00dd [IMP] website_forum: add direct link to the answer. #4364 2015-01-12 15:27:32 +01:00
Jeremy Kersten 0de1d89648 [FIX] website_forum: add name get on forum.post #4364
When comment is created, emails are sent with subject: "Re: False" and footer: "About Forum False".
Now, when the post is a comment, we fallback to the name of the parent (the main forum post).
2015-01-12 15:27:32 +01:00
youring be8ee97c44 [IMP] Look for TTC font files as well as TTF
TTC fonts is widely used in CJK font. Odoo should support ttc fonts recognition.
2015-01-12 15:16:10 +01:00
Fabrice Henrion 319e99f82c [FIX] Terminology consistency 2015-01-12 14:58:55 +01:00
Denis Ledoux 36a6876980 [FIX] auth_oauth: avoid double slashed redirect urls 2015-01-12 12:02:06 +01:00
Denis Ledoux 220999037e [FIX] account: financial reports, report value visible when type account_report
Regression introduced with rev. f081a5e441

opw-621989
2015-01-12 11:12:18 +01:00
Julien De Coster 03c8f4c388 [FIX] Server Action examples in reference doc 2015-01-12 11:04:41 +01:00
Yannick Tivisse ecb4638a70 [FIX] website_crm: 2 fixes commit, yeah
- admin is not follower anymore of all leads created through the
contact form. The famous no_subscribe key is added in the context
for that purpose.
- fixed medium and sales_team of the contact form leads. A bad
xml_id + bad use of get_object_reference + bad use of try/catch
prevented from having any of those. It now works correctly
even if the medium and/or sales team has been deleted.

Courtesy of Use Merge: Yannick Tivisse.
Reviewed by Use Merge: Thibault Delavallée.

I think this commit message is waaaay longer than the commit
itself, although I think I will never beat Olivier or
Martin. Those two are able to write 3 pages of commit messages
when doing a one-line fix. Well, this fix can be tricky
to understand but, hey, I am not writing stupid things just to
gain some characters. Not my style.

Have a good day.
2015-01-12 10:17:31 +01:00
kevin wang d023c079ed [FIX] web_graph: format pivot cells with correct precision
fields received by the fields_get call sometimes have a digit
precision.  This commit makes sure that it is used when
formatting the cells to be displayed.
2015-01-09 14:40:53 +01:00
Christophe Matthieu 010dd5a603 [FIX] website_sale: very slow name_get for product public categories 2015-01-09 14:22:54 +01:00
Denis Ledoux 8d9cfd7321 [FIX] website_sale: retrocompatible patch for a6379e2e67
The view *_acquirer_button being  being in noupdate mode, this is possible that the view isn't updated during the migration
2015-01-09 14:02:17 +01:00
Alexis de Lattre a9907aac8a [FIX] point_of_sale: do not group move lines with different analytic account
When generating account.move.line from pos.order, orders with different analytic
account should not be groupped in generated lines (possible if inherit
_prepare_analytic_account).
Add the analytic_account_id in the key to avoid this grouping.
Fixes #4602
2015-01-09 12:14:45 +01:00
Fabrice Henrion 8f2f541d5e [IMP] account_voucher: Label consistency between wizard button and form view button 2015-01-09 11:57:40 +01:00
Antony Lesuisse c8f07f2862 [IMP] doc: setup lessc installation details 2015-01-09 11:44:22 +01:00
Antony Lesuisse aeaf7ef914 [FIX] logging: dont use color in windows cmd
windows cmd.exe terminal doesnt display them correctly so escape sequences end
up uselessly wasting some of the precious 80 char wide screen estate.
2015-01-09 01:45:41 +01:00
Antony Lesuisse 5a642a802e [FIX] test phantomjs discard stderr
To avoid phantomjs broken pipe messages on odoo stderr during testing.
2015-01-09 01:21:42 +01:00
Antony Lesuisse 82a37dc14a [IMP] doc: add instruction for less compiler 2015-01-08 16:50:10 +01:00
Commandant Custo a2a3cffa29 [IMP] product: Improved tooltip for standard_price
Closes #4561
2015-01-08 15:09:55 +01:00
Raphael Collet 4fb9c8f0dc [FIX] hr_holidays: fix validation of the number of days
The validation of leaves was broken because it relies on a check on the
remaining days.  The problem is that the latter uses an old-api function field
that is not recomputed yet at the time of the validation.  The fix consists in
using a non-computed field instead.
2015-01-08 14:36:24 +01:00
Denis Ledoux 6c78541978 [FIX] calendar: prevent updating event with a start date greater than the end date
Setting a constraint on an old api style computed field is broken in Odoo 8.0
The constraint is checked with the old value of the computed field, not the new one
So, it was possible to update an event with a start date greater than the stop date
And once done, it was impossible to correct the mistake
2015-01-08 14:19:28 +01:00
Nick Booker c53951e0a5 [FIX] survey: typo, quizz to quiz
Fixes #4549
2015-01-08 13:14:06 +01:00
Denis Ledoux faf45db0d2 [FIX] calendar: set duration on either stop or start date updated
Not only when both are.
2015-01-08 12:22:13 +01:00
Martin Trigaux dd558c40b8 [FIX] base: translation of terms in inherited view
If a view inherits from another with a different model (typically
product.product view inherits from product.template view), the terms from
the second view were not translated.
Checking on the parent view in case of different model and look up the terms
on this model.
Fixes some of #1755, opw 621512
2015-01-08 12:01:09 +01:00
Christophe Matthieu 255f50d0b9 [FIX] website: layout of the snippet list for large screen 2015-01-08 11:00:14 +01:00
Ajay javiya 5abcff8512 [FIX] fields: add minimal support for serialized fields in new API
This is necessary for supporting old-api sparse and serialized fields.  Without
this, old-api serialized fields are broken because they cannot be converted to
new-api fields.

This closes #4571
2015-01-07 16:34:50 +01:00
Nicolas Seinlet 1eb2507034 [IMP] improve search in webshop using a split on white spaces 2015-01-07 15:43:03 +01:00
Denis Ledoux 5e65ee58eb [MERGE] forward port of branch saas-3 up to 32246d9 2015-01-07 15:33:50 +01:00
Denis Ledoux 3335e79652 [FIX] stock_acount: an invoice origin can be False
Therefore:
 - we avoid to split an a bool, as this isn't possible
 - we avoid to concatenate False with strings
2015-01-07 15:10:29 +01:00
Denis Ledoux 31468888a1 [FIX] stock_account: avoid duplicate document origin in invoice
This fix is related to 8de7be6219

opw-621962
2015-01-07 15:00:23 +01:00
Denis Ledoux 32246d963d [MERGE] forward port of branch 7.0 up to 69bfc5e 2015-01-07 14:52:49 +01:00
Denis Ledoux 69bfc5e108 [FIX] sale_crm: typo introduced during rev. 1a10a11018 2015-01-07 14:48:04 +01:00
Denis Ledoux 1a10a11018 [FIX] sale, sale_crm: propagate sales team for advance & on lines invoices
A _prepare method had to be introduced in the wizard for the lines invoicing method
2015-01-07 14:44:29 +01:00
Somesh Khare 28833f070f [FIX] stock: owner on picking not propagated on quants
The owner of an incoming picking was not propagated to the generated quants
Fixes #4136, opw 619854
2015-01-07 13:57:52 +01:00
Denis Ledoux 295dcfc480 [MERGE] forward port of branch saas-3 up to b2be001 2015-01-07 12:49:06 +01:00
Denis Ledoux b2be001257 [MERGE] forward port of branch 7.0 up to dbb2a66 2015-01-07 12:48:39 +01:00