Thursday, January 30, 2020
5 changes
Resolved issues and error corrections
This fix makes web templates easier and more consistent to inherit when their names include a module prefix. It reduces configuration mistakes for developers and helps prevent template-related issues in the web interface, with a related fix avoiding a naming conflict in the upload progress display.
Original PR description
A good practice is to always prefix the name of a template by the name of the module it is defined in. So in the case where a template ```xml <t t-name="module.template" /> ``` was inherited by another Before this commit, one should have written ```xml <t t-name="other" t-inherit="module.module.template" /> ``` After this commit, it becomes more natural, and one should only write ```xml <t t-name="other" t-inherit="module.template"/>
Fixed an error that could prevent users from unbuilding a manufacturing order. This helps manufacturing teams complete reverse production actions without encountering a system traceback.
Original PR description
We get a traceback when we try to unbuild a MO due to a inexistant field call (scrap_qty) instead of product_qty -> 8458cc18674b267e64f95aa311a210ed5be41c51. Fix the issue.
The Documents app now respects the intended delay before opening the inspector on mobile. This prevents the inspector from appearing too quickly and keeps the mobile browsing experience consistent with recent interface changes.
Original PR description
Following the change of the inspector rendering in #7911, the mobile inspector wasn't taking the delay into account. This commit fixes this issue.
Fixes a template formatting issue that could cause Website CRM scoring pages to fail when loading. This helps keep affected sales and marketing views accessible after a recent translation-related change.
Original PR description
Task : https://www.odoo.com/web#id=2182586&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720
This update removes an outdated validation in asset accounting after a field change, preventing unnecessary checks from running. It also corrects how asset-related balances are read so calculations use the right filtering and ordering, reducing the risk of incorrect asset accounting behavior.
Original PR description
The field asset_id has been changed to asset_ids in 66c53e43eddc6a6e0511c9f5700f3d5ab191a7d9 The check done in _check_original_move_line_ids is no longer needed. Also, the resolve_2many_commands we trying to access cumulated_balance without the order and domain set in the domain, which was problematic.