From 9fea95053972fe2f31cebbfd2f801cc30b2817fa Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Mon, 20 Feb 2023 15:38:48 +0000 Subject: [PATCH] [FIX] account: correct computation of tax_audit https://github.com/odoo/odoo/commit/b7232b14b7f2423241b24b4eef1300f1a1b425cf#diff-78f3e1847de8ca0acf28d72a412947a549acdb08142d1dadf7646363d7972cb0R760 wrongly removed the assignation of the field in the compute function closes odoo/odoo#113193 X-original-commit: 5ff20fc5e19411506b5d56e57b44a0bf461e0a91 Signed-off-by: Laurent Smet Signed-off-by: Olivier Colson (oco) --- addons/account/models/account_move_line.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/models/account_move_line.py b/addons/account/models/account_move_line.py index 1f7a515d7e1..6c1cf9cf494 100644 --- a/addons/account/models/account_move_line.py +++ b/addons/account/models/account_move_line.py @@ -788,6 +788,8 @@ class AccountMoveLine(models.Model): audit_str += separator if audit_str else '' audit_str += tag_name + ': ' + formatLang(self.env, tag_amount, currency_obj=currency) + record.tax_audit = audit_str + @api.depends('product_id') def _compute_product_uom_id(self): for line in self: