Thursday, March 7, 2024
4 changes · master
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.