Monday, July 1, 2024
3 changes
2 changes
Resolved issues and error corrections
Invoices with fixed taxes now avoid showing a base amount next to those taxes, because that amount is not used in the fixed tax calculation. This makes printed invoices clearer and prevents customers from seeing potentially misleading tax details.
Original PR description
When printing an invoice including a fixed tax, we don't want the base amount to be displayed after said tax, since the fixed computation doesn't take into account said amount. Added a check to differenciate fixed taxes from other and adapt display accordingly. see https://github.com/odoo/odoo/pull/168638 task-3964942
This fix keeps the header line visible in empty list views, preventing the page from looking visually broken. Users get a clearer, more consistent view even when there are no records to display.
Original PR description
Before this commit: The content of list view is empty, the outline of the `<thead>` tag (the line below the first `<tr>` inside `<thead>`) would disappear, means its opacity reduced. After this commit: This commit fixes the issue by ensuring that the outline of the `<thead>` tag remains visible even when the list view is empty. task - 3834758
1 change
Resolved issues and error corrections
This update fixes the invoice extraction tests to work reliably regardless of whether demo data is loaded. Previously, tests would fail if demo data wasn't present, causing inconsistent results. Now the tests are self-contained and produce consistent outcomes in all environments.
Original PR description
Removed dependency on demo data for the TestInvoiceExtractPurchase tests, as they would previously fail if the demo data had not been loaded. Now the results will be consistent, no matter if the demo data is present. Task-3957718 Forward-Port-Of: odoo/enterprise#65742 Forward-Port-Of: odoo/enterprise#65660