Daily updates from Odoo
Navigate
Branch
Wednesday, March 31, 2021
17 changes
Enhancements to existing features
The document attachment viewer header has been refined for mobile users, making it easier to view and navigate documents on smaller screens. This improves the user experience for teams accessing documents from phones or tablets.
Original PR description
Task-ID 2200168
Mobile pivot views now use the updated group-by selection menu, matching the experience available elsewhere in Odoo. Users can choose predefined groupings from the search setup or add a custom group, making mobile analysis more flexible and consistent.
Original PR description
The groupby selection in a pivot view is now done via a menu similar to the "Group By" menu in control panel: the groupbys proposed when a user click on a suitable header are those defined in the search arch and a "Add custom group" menu is also available for more flexibility. For more information and precision see odoo/odoo#61572. Here we simply adapt the mobile PivotRenderer to the above mentionned changes. Task ID: 2376505
Delivery packaging is now handled separately from product packaging, aligning shipping carrier workflows with updated warehouse package handling. This supports smarter putaway rules and improves consistency across delivery barcode, Bpost, DHL, and Easypost operations.
Resolved issues and error corrections
The Somali shilling currency code has been corrected from the invalid SOD value to the official SOS value. This helps ensure currency data is accurate for localization, reporting, and integrations that rely on standard currency codes.
Original PR description
The currency code of Somali shilling is corrected from SOD to SOS. Task: 2450747 Community PR: https://github.com/odoo/odoo/pull/66707
This fixes an issue where opening the steps list from a bill of materials could fail because the wrong list view settings were carried over. It also restores the expected default product and picking type values when creating quality steps, reducing errors and manual corrections for manufacturing users.
Original PR description
On the BOM form view, when go to the steps (quality point) list view, we don't pass the old context anymore as there is unused data for the quality point view and, even worst, a `tree_view_ref` who will cause a traceback (as it will try to open the operation view for the quality point model). task-2492926
Code cleanup and technical improvements
Odoo Enterprise modules now declare their web assets in module manifest files instead of XML templates. This standardizes how assets are managed across the platform, making maintenance and future upgrades more reliable without changing day-to-day user workflows.
Original PR description
This PR is the enterprise code to change the way assets are declared in odoo modules. Briefly, the goal is to use the manifest.py to declare all assets bundle instead of having to do it in XML files. Community: https://github.com/odoo/odoo/pull/60632 Upgrade: https://github.com/odoo/upgrade/pull/2122 Design: https://github.com/odoo/design-themes/pull/454 Task [2352566](https://www.odoo.com/web#id=2352566&action=333&active_id=133&model=project.task&view_type=form&cids=1&menu_id=4720)
This internal update keeps approval popovers working after a shared interface component was moved out of the old template registry. It helps maintain the Studio approval experience without changing user-facing features or workflows.
Original PR description
This commit defines the Popover in the ApprovalComponent's sub-components because the Popover is now unregistered from qweb. related Community PR: https://github.com/odoo/odoo/pull/68602
Inventory-related processes now use a cached warehouse reference on stock locations, reducing repeated lookups behind the scenes. This should improve performance and consistency in manufacturing, quality, and barcode operations without changing day-to-day user workflows.
Original PR description
Use the new field `warehouse_id` in `stock.location` odoo/odoo#66621 task-2439019
This change updates the Enterprise web test setup to match a related change in the core Odoo platform. It helps keep automated testing reliable and consistent, with no expected impact on day-to-day users.
Original PR description
The delay is now patched once for every tests. Related community PR: https://github.com/odoo/odoo/pull/68578
Miscellaneous changes
According to XSD IRAS audit file, the field SourceType has a maximum length of 20 characters. We should truncate it to avoid file rejection. opw-2425555 Forward-Port-Of: odoo/enterprise#17402 Forward-Port-Of: odoo/enterprise#17391
Original PR description
According to XSD IRAS audit file, the field SourceType has a maximum length of 20 characters. We should truncate it to avoid file rejection. opw-2425555 Forward-Port-Of: odoo/enterprise#17402 Forward-Port-Of: odoo/enterprise#17391
Issue - Install 'Appointments' module - Go to Calendar -> Online Appointments - Edit any one - Add an employee (if not already) in 'Available Employees' - Click on 'copy' icon to copy the link - Click on top left button ('Applications' button) in main navbar Traceback raised. Cause Trying to remove fake_elem from container that has been removed. Solution When creating new Clipboard object, must provide container to have the correct focus for ClipboardJS. https
Original PR description
Issue
- Install 'Appointments' module
- Go to Calendar -> Online Appointments
- Edit any one
- Add an employee (if not already) in 'Available Employees'
- Click on 'copy' icon to copy the link
- Click on top left button ('Applications' button) in main navbar
Traceback raised.
Cause
Trying to remove fake_elem from container that has been removed.
Solution
When creating new Clipboard object, must provide container to have
the correct focus for ClipboardJS.
https://github.com/zenorocha/clipboard.js/issues/155
inspired by : https://github.com/odoo/odoo/commit/378ce8c447972fba832354ae023d824ace56d569
opw-2450922
Forward-Port-Of: odoo/enterprise#17370When editing XML view inside studio, if an error happened on save: the save button was never unlocked and you needed to refresh and lose current changes to continue editing. With this changeset, the promise rejection is available in calling code which can unblock the save button. opw-2460081 Forward-Port-Of: odoo/enterprise#17381
Original PR description
When editing XML view inside studio, if an error happened on save: the save button was never unlocked and you needed to refresh and lose current changes to continue editing. With this changeset, the promise rejection is available in calling code which can unblock the save button. opw-2460081 Forward-Port-Of: odoo/enterprise#17381
Issue - Install 'Sign' module - Upload an invalid pdf as new pdf template - Add signature in document - Sign it and download completed document Traceback raised. Cause Since no check is done when uploading document, a corrupt pdf can be uploaded. When wanting to iterate through pages of a corrupted pdf, PY2PDF raise an error. Solution - Prevent uploading corrupt pdf. - If need to iterate through pdf pages, check that pdf is not corrupt
Original PR description
Issue
- Install 'Sign' module
- Upload an invalid pdf as new pdf template
- Add signature in document
- Sign it and download completed document
Traceback raised.
Cause
Since no check is done when uploading document,
a corrupt pdf can be uploaded.
When wanting to iterate through pages of a corrupted pdf,
PY2PDF raise an error.
Solution
- Prevent uploading corrupt pdf.
- If need to iterate through pdf pages, check that
pdf is not corrupt, else, raise error.
opw-2467022
Forward-Port-Of: odoo/enterprise#17342
Forward-Port-Of: odoo/enterprise#16867Forward-Port-Of: odoo/enterprise#17372
Original PR description
Forward-Port-Of: odoo/enterprise#17372
Forward-Port-Of: odoo/enterprise#17349
Original PR description
Forward-Port-Of: odoo/enterprise#17349
A company inactive during a period should still be able to post the tax report for that period. This is now possible by adding two lines set to 0 to the account move when the report is empty. Also, fix an issue with the XML export of the l10n_be tax report which should always contain values for either the tax grid 71 or 72. When those two lines are empty, we'll now add grid 71 to the XML with 0 as a value. task id #2317046 Forward-Port-Of: odoo/enterprise#16729 Forward-Port-Of: odoo
Original PR description
A company inactive during a period should still be able to post the tax report for that period. This is now possible by adding two lines set to 0 to the account move when the report is empty. Also, fix an issue with the XML export of the l10n_be tax report which should always contain values for either the tax grid 71 or 72. When those two lines are empty, we'll now add grid 71 to the XML with 0 as a value. task id #2317046 Forward-Port-Of: odoo/enterprise#16729 Forward-Port-Of: odoo/enterprise#14272
When editing a comment in the stream.post comments window, the comment you are currently editing is supposed to be replaced by a text area to let you input the new value. This textarea is correctly displayed but the edited comment is not hidden. Even though it does not "break" anything, it looks a bit strange. This commit fixes the behavior by correctly hiding the comment. Task 2209729 Forward-Port-Of: odoo/enterprise#15263
Original PR description
When editing a comment in the stream.post comments window, the comment you are currently editing is supposed to be replaced by a text area to let you input the new value. This textarea is correctly displayed but the edited comment is not hidden. Even though it does not "break" anything, it looks a bit strange. This commit fixes the behavior by correctly hiding the comment. Task 2209729 Forward-Port-Of: odoo/enterprise#15263