[FIX] account: fix account.tax order

Suppose some taxes with the same sequence:

The tax are not computed in the same order in POS and SO/INV.
This is wrong in case of multiple taxes affecting the base.

-opw: 779498
This commit is contained in:
Laurent Smet
2017-11-22 11:55:28 +01:00
parent 8be77ca382
commit 8214395a49
+1 -1
View File
@@ -506,7 +506,7 @@ class AccountTaxGroup(models.Model):
class AccountTax(models.Model):
_name = 'account.tax'
_description = 'Tax'
_order = 'sequence'
_order = 'sequence,id'
@api.model
def _default_tax_group(self):