Daily updates from Odoo
Thursday, March 7, 2024
5 changes
4 changes
Enhancements to existing features
The data merge test coverage was updated to match a change in invoice handling: customer invoices and credit notes are now secured when they are sent rather than when they are posted. This keeps automated checks aligned with the current business process and helps avoid false test failures.
Original PR description
Now the customer invoices and credit notes are hashed upon sending, not upon posting. Tests should be adjusted accordingly. See also: odoo/odoo#152467 Part of: task-3695695
This update improves how the Mexican EDI extension locates its internal files, especially in setups that use linked or customized addon paths. It helps prevent path-related failures without changing day-to-day functionality for users.
Original PR description
Replace outdated realpath usage with odoo tools.file_open. Allows file_open to locate file from addons path rather than looking up through realpath. This will resolve potential issues with realpath not finding the proper path of files in certain situations (like a symlink). Worth noting that file_open uses abspath instead of realpath anyway. opw-3745052
The Avatax geolocation screen now hides coordinate calculation buttons for contact entries that belong to a parent contact and have a specific contact type. This reduces confusion by preventing users from seeing actions that are not relevant in those situations.
Original PR description
This PR makes invisible coordinates computation buttons when having a parent and type in contact. Task-3336288
This update removes obsolete UTF-8 coding comments from Python files across the affected accounting modules. It does not change product behavior, but keeps the codebase cleaner and easier to maintain.
Original PR description
Since the `coding: utf-8` comment at the start of python files is no longer useful, this commit removes them.
1 change
Enhancements to existing features
This update removes duplicate leave type definitions that were redundantly created in Belgium and Switzerland payroll modules. These duplicates were already properly defined in the Time Off module, so the payroll modules now reference the existing definitions instead. This cleanup reduces data redundancy and simplifies maintenance.
Original PR description
*: test_l10n_be l10n_ch Before this commit, both l10n modules were creating demo leave types almost identical to the demo and data already defined in the `hr_holidays` module. This commit removes those duplicates and refer to the equivalent of the Time Off module.