From 8214395a495da91840b3155bed8d658e1d16d37f Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Wed, 22 Nov 2017 11:55:28 +0100 Subject: [PATCH] [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 --- addons/account/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account.py b/addons/account/models/account.py index c64473778ec..d8932b5175a 100644 --- a/addons/account/models/account.py +++ b/addons/account/models/account.py @@ -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):