- Dec 22, 2016
-
-
Nicolas Martinelli authored
In graph view, the y-axis always uses the standard float precision with 2 digits. This might not be enough if the precision was defined differently for a given float type. opw-697625
-
Henry Zhou authored
Done at #13888
-
Iker authored
Signed at #13976
-
smartupdo authored
Signed at #14010
-
lnkdel authored
Closes #14251
-
Martin Trigaux authored
1;2802;0c now() was bad as it excluded the orders of the latest session midnight is not good either because - midnight server != midnight user (timezone) - some restaurant, bars start in the evening and finish after midgnight With this default, with 4 sessions: - POS A, start 2016-12-21 08:05:36 - POS B, start 2016-12-21 08:08:11 - POS A, start 2016-12-22 08:17:51 - POS B, start 2016-12-21 08:19:23 The default start date will be 2016-12-22 08:17:51 to include all orders of both sessions.
-
Nicolas Martinelli authored
When there are too many labels to display on the x-axis, they overlap and it simply becomes unreadable. By slightly rotating them, this can be avoided in most cases. opw-697625 opw-697626
-
Martin Trigaux authored
The dates were lost when in render_html as replaced by the one in the context (None so fallback on today). Avoid calling twice get_sale_details Fixes #14789 Replaces and closes #14790
-
- Dec 21, 2016
-
-
Raphael Collet authored
-
Nicolas Martinelli authored
When MRP and Product Extended are installed: - Define a manufactured product with valuation as 'Periodic (manual)' - On the product form, click on "Compute from BOM" Several issues: - The field "Counter-Part Account" is mandatory - Account moves are posted although the product valuation is 'Periodic (manual)' The problem is that the wizard is originally used for products with valuation 'Perpetual (automated)', where this behavior makes sense. In this use case, however, it's an issue. Making the field not mandatory is not possible without an upgrade of the module, so this will have to be fixed in master branch. Regarding the creation of account moves, however, this commit solves it. opw-697867
-
Jeremy Kersten authored
This reverts commit 8416c2bc. Temporary revert this commit, to have enterprise green again... Need to replace 'full' args by key in context to don't break override Need to rewrite account_bank_statement_import_csv from enterprise
-
Martin Trigaux authored
Introduced at 11812b0b
-
Martin Trigaux authored
Leftover references to cr, uid
-
Goffin Simon authored
The field resource_type must be displayed in mrp.workcenter form view opw:698183
-
Raphael Collet authored
-
- Dec 20, 2016
-
-
Jeremy Kersten authored
Before this commit, 'select all' into a list view, and use an action that assign a user_id to all the records will send n² email, because the function send_mail use active_domain instead of the current record. Now, we keep mass_mail mode, but simulate the case where we have clicked on each record one by one and not all the records matching the active_domain. So we send only one email by record. How to reproduce: create a action server "record.write(dict(user_id=env.user_id))" add this action in context menu select all records in a list and apply the action server
-
Jeremy Kersten authored
Before this commit, the parser (date, datetime, float, monetary, ...) was only called on field from current model, and not on sub field. Eg: product_id.price was not parsed as float, because product_id != float This commit add an overiddable function to get all the parsers: get_parsers This commit closes #14572
-
Denis Vermylen (dve) authored
correct 3068afd8 .
-
Denis Vermylen (dve) authored
_get_partner_pricelist could return both a recordset or an ID. While the ORM handles both where the method is called, a migration script relies on an ID being returned. ( migrations/sale_contract/9.saas~13.1.1/pre-models.py", line 24 ) This commit ensures an ID is being returned every time.
-
David Tran authored
account 343112 should be 34312 account 343113 should be 34313 Closes #14557
-
Goffin Simon authored
When making an inventory adjustment in multi company, the default location_id was all the time taken from 'stock.warehouse0' even if the user was not allowed to read the warehouse. Inspired from _get_default_location in pos_config.py opw:695616
-
Jeremy Kersten authored
Avoid traceback 'list indices must be integers, not str' when country_id not in sidebar. env.browse(id).read(['name']) return a list, so country['name'] should be country[0]['name']
-
- Dec 19, 2016
-
-
Damien Bouvy authored
This reverts commit 8b64bf76. This should have been fixed in 8.0, a moment of distraction made me push it in 10.0. This is not the branch you are looking for, carry on.
-
Damien Bouvy authored
Courtesy of DynApps
-
Olivier Laurent authored
A big section of code was wrongly indented (1 level too much). The method was returning after 1 iteration of the loop. Closes #14764
-
Martin Trigaux authored
If only the code of a warehouse is changed, `name` is None. Do not try to set None as the new pull name. Fixes #14766
-
Martin Trigaux authored
To have the same as the main method in stock
-
Nicolas Lempereur authored
With 86793a75 some regressions had been introduced. opw-702025
-
Martin Trigaux authored
There was several issues with this method: - the workflow is incorrectly called (`purchase.signal_workflow(...)` instead) - the workflow no longer exists (`purchase.state = 'sent'` instead) - the code is only triggered when sending an actual mail and not a notification - the code is never executed as the change is already changed The last point is due to the override of `send_mail` in mail.compose.message. The state is changed before `_postprocess_sent_message` is called (if called at all). Similar change of state is already done for sale.order. This commit replaces and closes #14760
-
Martin Trigaux authored
-
Martin Trigaux authored
Rate limit prevented twice to sync website_sale
-
David Dufresne authored
Is either `self` or `report` but not both. Introduced at 4ddc3231 Closes #14739
-
invitu authored
Uses the widget monetary to display the tax amounts the same way as the other amounts on the views. Closes #14282
-
Alexis de Lattre authored
The 'note' field on account.fiscal.position is the "Legal mentions that have to be printed on the invoices." As the invoice is translated in the customer language, it makes sense to be able to translate this note too. Closes #14735
-
Odoo Translation Bot authored
-
- Dec 18, 2016
-
-
Odoo Translation Bot authored
-
- Dec 16, 2016
-
-
Josse Colpaert authored
The issue is that if you block a workorder when you exceeded the expected time, the workcenter is not blocked. The workcenter state is computed according to its productivity lines. The productivy lines are marked with a loss type type that define the reason of the time loss (availability problem like missing equipment or quality problem like broken equipment). There are also two magic loss type that define if the work on the workcenter is done in the expected time (fully productive time) or is done exceeding the expected time (reduced speed). The unblock button appears if the workcenter is blocked. To compute the workcenter state, we have to look through the last productivity line of the workcenter having no end_date. Before the patch, we look for the last productivity line and it could return one with an end_date while there was a productivity line without one and it was this one that would define the workcenter state. This is solved by immediately searching for a record without end date. We also add some comment to the code to understand a little more what's going on.
-
Christophe Simonis authored
-
Raphael Collet authored
Some code prevents to modify or delete an `ir.model.field` if another field depends on it (like one2many depending on many2one). Make a special case when the code is executed during a module deinstallation. OPW 694009
-
Christophe Simonis authored
-