[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) <bib@odoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user