Monday, July 1, 2024
3 changes · saas-17.2
Resolved issues and error corrections
Printed invoices now show fixed taxes without adding a misleading base amount next to them. This makes invoice tax details clearer for customers because fixed taxes do not depend on the invoice base amount.
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 differentiate fixed taxes from other and adapt display accordingly. see https://github.com/odoo/odoo/pull/168638 task-3964942
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