- Jan 15, 2015
-
-
Denis Ledoux authored
-
Raphael Collet authored
This fixes #4681: prevent method copy() to write on the field.
-
Denis Ledoux authored
-
Ravi Gohil authored
Upstream traceability on produced goods (serial number on finished product) was broken due to wrong values in cache for production.move_lines2 after production. Refresh the value of production after each action_consume to make such the state of the cache is correct. opw 609450 Similar fix for manufactruing order not going in done state in some specific configrations (e.g. some components being phantom BOM). Again due to wrong cache state after consumption. opw 610515 Fixes #1296
-
Sandy Carter authored
This means group category names can be translated in the default/installation database language. Closes #3921
-
Denis Ledoux authored
-
Antony Lesuisse authored
-
Xavier Morel authored
mostly to match apparent searches for it
-
- Jan 14, 2015
-
-
Martin Trigaux authored
The tracking reference and other delivery references are not relevant to duplicated pickings. Overwrite copy to remove carrier_tracking_ref, volume and number_of_packages. Add fallback on stock.picking.in and out to use copy method of stock.picking. For partial delivery, the duplicated picking is the delivered order and the existing picking is the backorder of the delivery (why so much hate?). This means we have to switch the delivery info between the backorder and the delivered picking. Combo opw 615593 and 618802
-
Christophe Simonis authored
-
Simon Lejeune authored
-
Denis Ledoux authored
The method test_if_product, used in the workflow to test that the mrp production is for a product (!= service), used to call the method _action_compute_lines in order to compute the production lines and determine from them the production type. The thing is, the method _action_compute_lines, despite the fact it returns the lines of the production, actually creates the lines. So, just to test if the production was of product type, the productin lines were created, in database. This rev. introduces a _prepare_lines method, which returns the computed production lines, without actually creating them in database, so the test_if_product method can test if the production is of product type without creating the production lines. Therefore, production lines are now computed and created during the action_compute method, instead of computing them when the production was tested to get the production type. Computing the lines before the action_compute has as side effect to not set the scheduled date of the work orders in module mrp_operations, at MO confirmation (as, on confirmation, the action_compute method is called only for productions for which the lines are not yet computed, and mrp_operations overide action_compute to set the scheduled date) opw-620189
-
Nicolas Seinlet authored
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.
-
Denis Ledoux authored
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: - 4fb9c8f0 - 6c785419 Closes #4217 opw-620175
-
Xavier Morel authored
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
-
Michiels Denis authored
Attempt to fix and clarify the guide. I still can not get "Advanced Customization" to work. closes ##4291
-
Akash Balar authored
As date_start and date_stop are date field and not datetime, should use DEFAULT_SERVER_DATE_FORMAT for search. opw 619592
-
- Jan 13, 2015
-
-
Denis Ledoux authored
POS users should not be able to create nor modify payment methods (account.journal) POS users should not be able to create nor modify point of sales (pos.config) At first opened session, if no payment methods was set, this is possible that the pos user should temporary have accesses granted to mark a payment method as pos payment method. This is done by the openerp.SUPERUSER_ID added by this rev. opw-625489
-
Raphael Collet authored
-
Martin Trigaux authored
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
-
Denis Ledoux authored
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
-
David Monjoie authored
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.
-
Denis Ledoux authored
This rev. is associated with rev. 38aa984f closes #4660
-
Akash Balar authored
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
-
- Jan 12, 2015
-
-
Denis Ledoux authored
Colors were no more applied. colors attribute from tree expects a semicolon separated string, not a dict. Regression introduced during b414e05a
-
Raphael Collet authored
As unaccent() of date fields will not work Fixes #4615
-
Pavel Tysliatski authored
Searching by location in stock.history failed as field name does not exists Fixes #4650
-
Xavier Morel authored
Extract dropping of connection from exp_drop (as in 8.0), call it from relevant database-alteration functions (drop, rename, duplicate)
-
Xavier Morel authored
[FIX] Issue #4424
-
David Monjoie authored
-
Erwin van der Ploeg authored
-
Sandy Carter authored
Use `tools.ustr` for error conversion to prevent `UnicodeDecodeError` when converting errors which can be unicode in depending on data. Example: ```python from openerp.osv.orm import convert_pgerror_23505 from psycopg2 import IntegrityError e = IntegrityError( 'duplicate key value violates unique constraint ' '"hr_job_name_company_uniq"\nDETAIL: ' 'Key (name, company_id)=(Directrice comptabilit\xc3\xa9, 1) ' 'already exists.\n' ) convert_pgerror_23505(None, [], None, e) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) ```
-
Jeremy Kersten authored
-
Jeremy Kersten authored
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).
-
youring authored
TTC fonts is widely used in CJK font. Odoo should support ttc fonts recognition.
-
Fabrice Henrion authored
-
Denis Ledoux authored
-
Denis Ledoux authored
Regression introduced with rev. f081a5e4 opw-621989
-
Julien De Coster authored
-
Yannick Tivisse authored
- 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.
-