Friday, September 25, 2026
1 change · 18.0
Resolved issues and error corrections
This fix prevents invoice tax total calculations from failing when the Sales app is not installed. It only applies down payment-related context when that information is available, improving reliability for companies using electronic invoicing without Sales.
Original PR description
In https://github.com/odoo/odoo/pull/283009 we make a change passing in is_downpayment as context on an account_move_line, based off a field value on an account_move_line. This field is only brought in by the sales module, and will throw an error if we do not have sales installed. This fix extends the function, `_get_invoice_line_tax_totals_vals_list`, that needs this context to simply pass in the context when available. https://github.com/odoo/odoo/pull/283009 was only merged into 17 and 18, only r+ this to 18.0. runbot-[947355](https://runbot.odoo.com/odoo/error/947355) Forward-Port-Of: odoo/odoo#290557