From 4492bfbb11dda86909858d3032a70353f9e92046 Mon Sep 17 00:00:00 2001 From: Jinane Maksoud Date: Thu, 10 Aug 2023 13:08:11 +0000 Subject: [PATCH] [FIX] account: change tax repartition lines default order The update of repartition lines was matching exitsting values to the wrong records in the chart template due to a difference in the sorting. closes odoo/odoo#132069 X-original-commit: 017eec9112f4cf00fc4392528877c48c6ded1a85 Signed-off-by: Brice Bartoletti (bib) --- addons/account/models/account_tax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account_tax.py b/addons/account/models/account_tax.py index 958696af301..e1eab7c42db 100644 --- a/addons/account/models/account_tax.py +++ b/addons/account/models/account_tax.py @@ -1347,7 +1347,7 @@ class AccountTax(models.Model): class AccountTaxRepartitionLine(models.Model): _name = "account.tax.repartition.line" _description = "Tax Repartition Line" - _order = 'sequence, repartition_type, id' + _order = 'document_type, repartition_type, sequence, id' _check_company_auto = True _check_company_domain = models.check_company_domain_parent_of