Daily updates from Odoo
Wednesday, July 12, 2023
2 changes · master
Resolved issues and error corrections
Invoice reports for Chilean and Mexican electronic invoicing now show international trade terms correctly after an upstream layout change. The Chilean invoice also removes a duplicate trade term from the bottom section, making the document clearer for users and customers.
Original PR description
In those EDI some xpath were broken due to change in the community pr (https://github.com/odoo/odoo/pull/118954). For l10n_mx, changing the xpath was enough. For l10n_cl the xpath is useless since the information of incoterm in repeated twice (header and bottom) and we decided to remove it from the bottom of the invoice task: 3273460
The update makes internal holiday-related tests less dependent on preset demo company data. This helps prevent test failures caused by unrelated demo data changes, improving reliability for ongoing development.
Original PR description
Before this commit, the hr_holiday tests used base_company to setup the tests. This resulted in the tests interacting with the demo data that were linked to this company, eg stress days. With this commit, the tests are now independent of this data, and will therefore not be affected by any changes to it.