Daily updates from Odoo
Navigate
Branch
Monday, July 18, 2022
18 changes
Security fixes and vulnerability patches
This update replaces an older internal comparison method with a standard safer approach for checking sensitive values. It helps keep document sharing and salary contract flows protected without changing how users interact with the system.
Original PR description
cf odoo/odoo#73535
Enhancements to existing features
Odoo now has a shared service to decide which browser tab should handle actions that must only run once. This prepares several apps for future real-time communication changes while reducing duplicate processing across open tabs.
Original PR description
*: delivery_iot, iot, voip. In order to ease the PR introducing websockets in Odoo, introduce the tab manager service. Indeed, the cross tab bus won't be necessary anymore but there will still be a need to elect a master tab: some actions should only be triggered once. To achieve this, the code electing the master tab has been split with the one handling the longpolling. The crosstab bus now relies on the tab manager service to known whether or not the current tab is the master tab. task-2053917 community: https://github.com/odoo/odoo/pull/96174
The Documents app test setup now consistently includes the activity menu item. This makes internal testing more dependable and supports future improvements to the activity menu without changing the user experience.
Original PR description
In order to ease testing and to prepare for the ActivityMenu widget to be converted into a component, let's add the sytray menu item into the registry systematically when using the start helper. community: https://github.com/odoo/odoo/pull/96094
This update modernizes how several Odoo components listen for internal events, replacing older methods with the newer supported approach. It helps keep Delivery IoT, Documents Spreadsheet collaboration, and VoIP maintainable and aligned with platform changes, with no expected change to day-to-day user workflows.
Original PR description
*: delivery_iot, documents_spreadsheet, voip. on/off are deprecated in favor of addEventListener/removeEventListener. Calls to the bus service have been updated to reflect those changes. task-2053917 community: https://github.com/odoo/odoo/pull/96017
This update simplifies internal code patterns across several Odoo business modules without changing how users work with the system. It improves maintainability and reduces unnecessary complexity, helping future updates stay safer and easier to manage.
Original PR description
cf odoo/odoo#82600
Internal users who create helpdesk tickets will now receive email links that take them to the backend when they have the right permissions. This gives staff access to fuller ticket details and a more useful workflow instead of sending them to the limited customer-facing page.
Original PR description
Purpose ======= When an internal user creates a helpdesk ticket, they will get a link by email to the front end which does not contain a lot of information. If the user is part of the group_helpdesk_user group Task-2680414
This update adjusts the rental product comparison page so it stays aligned with recent website shop template changes. It helps ensure rental comparison content continues to display correctly when customers browse products online.
Original PR description
…nt template task-2694860
This update streamlines how onboarding progress is managed across several business apps, making the underlying process easier to maintain and more consistent. Users should see more reliable setup guidance, while the change mainly reduces complexity behind the scenes.
Original PR description
Linked to odoo/odoo#63591
Resolved issues and error corrections
Some PDF files were not opening in preview because they used a slightly different file type label. This fix ensures those PDFs are recognized correctly, so users can preview them in Documents as expected.
Original PR description
Pdf files marked as mimetype `application/pdf;base64` were not considered as previewable since the recent refactor to wowl of the documents views. This commit fixes it.
The spreadsheet global filter icon now has balanced padding, so it appears properly centered when users hover over it. This improves the visual polish and consistency of the spreadsheet interface.
Original PR description
The padding of the global filter icon wasn't symetric. Because of that, when hovering the global filter icon it looked like the icon was badly centered. Odoo task 2918761
This update corrects a test related to spreadsheet document filters so the automated checks run reliably. It helps maintain quality in the Documents spreadsheet feature without changing how users work with the product.
Features or functions removed from Odoo
Belgian salary contract screens and related payroll processes no longer use separate full-time equivalent wage fields. This simplifies contract salary handling and helps reduce confusion by relying on the standard wage information instead.
Miscellaneous changes
Steps to reproduce: - configure iot in the pos config - configure restaurant with floor - start a session When having the iot and the restaurant with floors configured, an error was thrown at the beginning because we are trying to access an attribute of an undefined order. opw-2906671 Original PR: https://github.com/odoo/enterprise/pull/29148 Forward-Port-Of: odoo/enterprise#29510 Forward-Port-Of: odoo/enterprise#29485
Original PR description
Steps to reproduce: - configure iot in the pos config - configure restaurant with floor - start a session When having the iot and the restaurant with floors configured, an error was thrown at the beginning because we are trying to access an attribute of an undefined order. opw-2906671 Original PR: https://github.com/odoo/enterprise/pull/29148 Forward-Port-Of: odoo/enterprise#29510 Forward-Port-Of: odoo/enterprise#29485
… off Forward-Port-Of: odoo/enterprise#29569
Original PR description
… off Forward-Port-Of: odoo/enterprise#29569
"[FIX] sale_timesheet_margin: prevent cost override on product service" This reverts commit e260a97. After discussing with thcl-odoo, it was determined that it is better to revert this commit as it is affecting all service products. Also the desired behavior is that users should change the cost on the product form not on Sales Orders this is linked to https://github.com/odoo/odoo/pull/94705 OPW-2857506 Forward-Port-Of: odoo/enterprise#29222
Original PR description
"[FIX] sale_timesheet_margin: prevent cost override on product service" This reverts commit e260a97. After discussing with thcl-odoo, it was determined that it is better to revert this commit as it is affecting all service products. Also the desired behavior is that users should change the cost on the product form not on Sales Orders this is linked to https://github.com/odoo/odoo/pull/94705 OPW-2857506 Forward-Port-Of: odoo/enterprise#29222
The default merchandise import and export codes for the Netherlands are 6 and 7 respectively. These are not present in the _merchandise_export_code / _merchandise_import_code dictionaries. This commit adds them to these dictionaries, so that when the comany country is 'NL', the correct values appear in the 'system' column of the intrastat report. task-id: 2884333 This PR contains the majority of the contents of the original PR: https://github.com/odoo/enterprise/pull/28630, which w
Original PR description
The default merchandise import and export codes for the Netherlands are 6 and 7 respectively. These are not present in the _merchandise_export_code / _merchandise_import_code dictionaries. This commit adds them to these dictionaries, so that when the comany country is 'NL', the correct values appear in the 'system' column of the intrastat report. task-id: 2884333 This PR contains the majority of the contents of the original PR: https://github.com/odoo/enterprise/pull/28630, which was closed in v13.0 as the contents would have violated stable policy. The part that is fine to merge in stable is not included in this PR, and is in a different PR in master: https://github.com/odoo/enterprise/pull/29506 (It involves consolidating the system / type fields in the intrastat report into a single field) Forward-Port-Of: odoo/enterprise#29505
With commit[1], we added `o_text_overflow` classes at several places to avoid long names going out of the boxes. However, for the name/title fields in the form views, we should always show the full name. So this commit replaces `o_text_overflow` class with `text-break` from name/title fields in the form views to display full string in the read only mode, but also keep them from going outside of the form view. commit[1] - https://github.com/odoo/enterprise/commit/7fc8f7659928a26e464a8f5
Original PR description
With commit[1], we added `o_text_overflow` classes at several places to avoid long names going out of the boxes. However, for the name/title fields in the form views, we should always show the full name. So this commit replaces `o_text_overflow` class with `text-break` from name/title fields in the form views to display full string in the read only mode, but also keep them from going outside of the form view. commit[1] - https://github.com/odoo/enterprise/commit/7fc8f7659928a26e464a8f5931304d6f6568ac5e task-2889845 Forward-Port-Of: odoo/enterprise#29537 Forward-Port-Of: odoo/enterprise#28898
Don't show the stock input/output accounts in the reconciliation widget. Steps to reproduce: - A product category PC, costing method AVCO, automated valuation and custom stock input/output account (reconcile = True) - A product P in category PC - A Purchase Order PO for product P, receive and confirm - Create a bank statement -> reconcile -> Line for custom valuation account shows up in misc tab on reconciliation widget We look for each property domain, then look for all acc
Original PR description
Don't show the stock input/output accounts in the reconciliation widget. Steps to reproduce: - A product category PC, costing method AVCO, automated valuation and custom stock input/output account (reconcile = True) - A product P in category PC - A Purchase Order PO for product P, receive and confirm - Create a bank statement -> reconcile -> Line for custom valuation account shows up in misc tab on reconciliation widget We look for each property domain, then look for all account relative to each property opw-2792862 Forward-Port-Of: odoo/enterprise#29297 Forward-Port-Of: odoo/enterprise#27162