- May 26, 2015
-
-
Arthur Maniet authored
-
- May 22, 2015
-
-
Denis Ledoux authored
When loading an action using a specific url, with a view_type different than the default view of the action (e.g. Project > Project > Issues has as view order kanban, list, calendar, form, graph, and try to load this menu action from an url, but by specifying another view_type than 'kanban', for instance, 'list'), the default loaded view was always the first view, and then a switch was done to go to the view_list. It caused issues when using a filter needing a field available in the list view but not in the kanban view. It also lead to an issue in the reporting, when trying to load a reporting action with a view not being the first one of the action (e.g. Reporting > Project > Issues Analysis, switch to the second view 'Graph', and then refresh -> Error). This revision makes so the view from the view_type url arg is directly loaded. opw-640289
-
Denis Ledoux authored
and the render of the buttons. The sibar menu can depends on the current view and fields states. We therefore have to wait for them to be loaded before loading the sidebar. Before this rev., loading a report view (in the reporting menu), leaded to a crash, due to this revision: ac925514. opw-640409
-
- May 21, 2015
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
David Monjoie authored
To avoid loading unneccesary templates on every page.
-
Olivier Dony authored
-
Olivier Dony authored
opw-626694
-
Olivier Dony authored
-
Olivier Dony authored
opw-626694
-
Christophe Simonis authored
-
Olivier Dony authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Martin Trigaux authored
Was removed at 5b479e61 as no longer used (and was a wrongly used there as dit not check if a "normal" BoM has an higher sequence). However for stablility reason, we do not remove methods in version 8.0 (if was used in community). Will be removed in master.
-
Christophe Simonis authored
fixes #6792
-
Christophe Simonis authored
Thamks to parent commit, `request.env` doesn't raise `AttributeError` anymore for requests without session bound to a database. This exception was bubbling up to `digits` property (and `__getattr__`) This reverts commit 49cb46fb. This reinstate commit eeedd2d9.
-
Christophe Simonis authored
These method used to raise an `AttributeError` when `self.registry` returns `None`. Now raises a more appropriated exception.
-
Colin Newell authored
The `rotate` flag introduced by 31d817e8 was initialized at the very end of the session init, after the reset of the `modified` flag. This had the side-effect of marking the session as modified for every request, saving the session to disk every time even without any change. Closes #6795
-
Nicolas Lempereur authored
For report with duplicated named headers, several columns could get squashed together. This fix check if a value is a duplicate or not, and if it is a duplicates postfix an number allowing to differentiate the two headers (for the human and the javascript). closes #6722 opw-634771
-
Nicolas Martinelli authored
opw-640309
-
Samuel Lefever authored
In website template, it was not possible to use the variable "lang", containing the current language, as the variable was overwrote in website.layout, in a loop context. Changing the variable name used by the loop solves the issue. opw-639488 closes #6320
-
Samuel Lefever authored
-
David Béal authored
When importing csv data, the column name is matched on the field name and string attribute. For some fields (e.g. name & display_name), you could get a match on both the string and technical field name for different fields The order of the fields is not deterministic as stored in a dictionnary so different results were possible at different import. The technical name should be prioritised (more stable, unique constraint). Fixes #6657
-
Goffin Simon authored
The POS must adapt the float format according to the language of the user. Inspired from 1da5d89b opw:639567
-
Xavier Morel authored
[FIX] incorrect translation marking
-
Goffin Simon authored
The POS must adapt the float format according to the language of the user. Inspired from 1da5d89b opw:639567
-
- May 20, 2015
-
-
Denis Ledoux authored
This reverts commit eeedd2d9. This revision introduces an issue more serious than the ones it fixes. This is no longer possible to receive an email aimed a sale.order thread with catchall. To reproduce the issue: - Create a new sale order - Send a message in the thread to the customer - Reply to the mail received in the customer mailbox - Traceback, AttributeError: digits opw-640370
-
Joao Alfredo Gama Batista authored
-
Nicolas Martinelli authored
This prevents rounding errors if product decimal precision is different from currency precision. Fixes #6547 opw-634390 Do not fowardport since already done in v8.0: https://github.com/odoo/odoo/blob/8.0/addons/stock_account/stock_account.py#L310
-
Nicolas Martinelli authored
Changing the scheduled date (date_planned) of the MO triggers a computation of the scheduled date of the associated WO in order to keep the data consistent. Fixes #6694 opw-639771
-
Denis Ledoux authored
This issue is related to 4f03a622. The above revision aimed to not fetch uselessly fields values The thing is, `partner_id` of `get_next_potential_limit_alarm` method expects a partner id, while partner['id'] is actually a user id. The `partner_id` of the user must be taken, not the user id itself.
-
Denis Ledoux authored
When setting a custom filter with as domain [(0, '=', 1)] the domain was rejected, because (0, '=', 1) wasn't considered as a valid leaf, while it is. This is because the Javascript converts this domain using list instead of tuple [(0, '=', 1)] -> [[0, '=', 1]] And therefore, comparing the "list" leaf to the TRUE/FALSE leaf tuple failed. Ensuring "element" as a tuple solves the issue. opw-640306
-
Nicolas Lempereur authored
Commit 0fd51c2e changed the unit rounding from units from 1 to 0.001, it was done mainly because it's the default unit and in the interface we see quantities with 3 decimals after the floating point, so people might expect to be able to set floating point quantities. This change caused an issue when splitting a bill in the pos restaurant, instead of a click being a piece of the product, it was 0.001 part of a product. This fix overrides the rounding of units in this case. closes #6780 opw-639865
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Thomas Groutars authored
Transfers were slowed because of the continuous computation of pickings remaining quantities. This revision delay the computation at the end of the transfer, so the computation is performed only once, and it therefore leads to a huge performance improvment. opw-634416
-
Denis Ledoux authored
This rev. is related to 439cdb68. The module datetime was already available in the reports, and it was the entire datetime module that was imported, not just the class. This rev. is not recompatible with 439cdb68, but there is no other choice, since other existing reports might already expected the datetime module and not the class opw-640299
-
Denis Ledoux authored
When the upload of an attachment failed, e.g. for access rights reasons, the traceback wasn't written or returned anywhere, preventing the easy debugging. opw-640242
-