From 0cd014e1e9377a34f8ca9a7465b06cf97c85a036 Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Wed, 8 Dec 2021 13:16:09 +0000 Subject: [PATCH] [FIX] account: Add tax_repartition_line_id in tax details closes odoo/odoo#81103 X-original-commit: 8dcfdf0f860246970ef375dfff755cbd2efcf697 Related: odoo/enterprise#22789 Signed-off-by: Olivier Colson Signed-off-by: Laurent Smet --- addons/account/models/account_move_line_tax_details.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/models/account_move_line_tax_details.py b/addons/account/models/account_move_line_tax_details.py index 9a1501f5ceb..1a3ba920b3a 100644 --- a/addons/account/models/account_move_line_tax_details.py +++ b/addons/account/models/account_move_line_tax_details.py @@ -381,6 +381,7 @@ class AccountMoveLine(models.Model): tax_line.tax_line_id AS tax_id, tax_line.group_tax_id, + tax_line.tax_repartition_line_id, tax_line.company_id, comp_curr.id AS company_currency_id, @@ -454,6 +455,7 @@ class AccountMoveLine(models.Model): sub.group_tax_id, sub.tax_exigible, sub.base_account_id, + sub.tax_repartition_line_id, sub.base_amount, ROUND(