Monday, January 17, 2022
3 changes · master
Resolved issues and error corrections
This update corrects how several automated tests determine the application's web address, aligning them with the shared testing framework. It helps keep test results reliable and reduces false failures during development, with no direct change for end users.
Original PR description
Multiple tests were wrongly overriding `base_url` instead of using the `base_url` method of HttpCase.
Changing a sales order template once again removes the previous order lines before applying the new template. This restores the expected behavior and helps prevent outdated or unintended items from remaining on a quotation or sales order.
Original PR description
The removal of existing order lines on template update was unexpectedly lost in recent code changes. This commit brings back the old expected behavior. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Swiss localization invoice report styling was corrected so the invoice title is properly detected and displayed. This ensures Swiss invoice documents keep the intended layout and presentation for customers.
Original PR description
The title's (S)CSS selector was failing to pick up the invoice title, because it was inside the .swiss_container_v2 while it should be out of that. Previous version, v15 was OK: (but it also included the old layout that had to be removed) https://github.com/odoo/odoo/blob/5bb0afc901135c1c44427bcb4e52803121165105/addons/l10n_ch/static/src/scss/report_swissqr.scss#L12-L25 Ticket link: https://www.odoo.com/web#id=2584899&model=project.task  opw-2584899