Daily updates from Odoo
Sunday, December 14, 2025
2 changes · 18.0
Resolved issues and error corrections
This update corrects an issue related to how fixed taxes are processed in UBL invoices, specifically distinguishing between 'recycling' and 'emptying' tax scenarios. It now allows for more accurate management of tax lines, ensuring greater precision in invoice calculations. This improves compliance and data accuracy for UBL transactions.
Original PR description
This commit contains 2 things: - an helper to extract any tax_data and move it to another base_line - the usage of this helper in UBL to turn emptying taxes into additional base_lines == Add helpers…
This commit contains 2 things: - an helper to extract any tax_data and move it to another base_line - the usage of this helper in UBL to turn emptying taxes into additional base_lines == Add helpers to turn tax_data into new base_lines easily == With this helper, you can now exclude any tax from any base line and turn them into new base lines. Also, I changed a bit the smooth distribution of rounding because the math.ceil is sometimes too greedy and make the whole results to be less accurate. == Make a different behavior between recycling contribution taxes / emptying taxes == In UBL, all fixed taxes are treated as allowances/charges. In this commit, we make a clear distinction between recycling contribution taxes that are treated as allowances/charges and emptying taxes that are exempted of tax and are treated as addition invoice lines in the document. == Fix a small issue with aggregate_function passed to reduce_base_lines_with_grouping_function == The aggregator wasn't called when setting the 'target_base_line' at the very first time. task_id: 5182783 Manual backport of commit: 5abd71a728641c321cab7942c5b69bf8816bcef8 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves an issue where the Peppol sending method was incorrectly automatically assigned in certain scenarios, specifically when using the 'Verify' button. The fix ensures that Peppol is only used as the default sending method when appropriate and no other preferred method is selected, improving data accuracy and configuration.
Original PR description
We previously remove the automatic assignment of this value when sent through the Send & Print. But we forgot to remove this automatic assignment when the "Verify" button was clicked. task-none (feedback from PO)