Daily updates from Odoo
Friday, February 23, 2024
2 changes · master
Resolved issues and error corrections
The barcode batch transfer screen now hides the Confirm button when the user opens the settings menu. This prevents users from seeing or using an action that does not make sense in that context, making the workflow clearer.
Original PR description
To reproduce issue: .go to barcode app .click on batch transfers .click on new .click on engine icon Expected result: confirm button hide Actual result: confirm button is not hide I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr When a user navigate from batch transfer and click on a engine icon the confirm button still showing, it's no makes sense for the current view. Now, when the user click on it, the confirm button will be hide and apear when close that menu. task-3525776
Localized invoice report customizations are now isolated so they do not interfere with each other when multiple country-specific modules are installed. This reduces the risk of invoice layout errors and improves reliability for businesses operating across localizations.
Original PR description
A lot of localisations inherit the account.report_invoice_document template to include custom changes, but without primary="True". The issue is that the template is updated for every localisation. This can lead to errors when, for instance, multiple localisation xpath replace the same div, add a t-else (resulting in multiple ones in a row),... This commit makes all the inherited templates primary="True" and calls them by inheriting the report_invoice(_with_payments) templates instead. This is still a temporary solution, needed because of an issue with the editing in Studio. see odoo/odoo#106776 task id=3100225