Monday, July 1, 2024
4 changes · saas-17.2
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 fixes an error that could stop Adyen or Viva Wallet payment terminals from working in Point of Sale. Businesses using these terminals can process payments more reliably after the recent system change in version 17.2.
Original PR description
Setting a adyen/viva-wallet terminal PoS setup and using it would cause the JS traceback: `TypeError: Cannot read properties of undefined (reading 'getPendingPaymentLine')` This error happen starting 17.2 due to the change of patched class PosBus (17.1) -> PosStore (17.2) see: https://github.com/odoo/odoo/pull/136621 opw-3977273
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
This fix ensures the French accounting module is automatically installed when a company is set to France and the Invoicing or Accounting app is installed. It prevents missing localization features, helping French companies get the correct accounting setup without manual intervention.
Original PR description
To reproduce the bug, follow these instructions: - Change the company localization to France. - Install the Invoicing or Accounting app. - Check if the l10n_fr_account module is auto-installed. The module won't get installed because the auto-install dependencies are ['account', 'l10n_fr'], and l10n_fr does not have an auto-install dependency, so the l10n_fr_account module won't get installed. OPW-3898999