[FIX]Fixed tax sequnce issue on result of computed tax.

This commit is contained in:
cod-odoo
2015-08-13 08:59:40 +02:00
committed by qdp-odoo
parent 37868748ca
commit bd3fbd282d
+1 -1
View File
@@ -600,7 +600,7 @@ class AccountTax(models.Model):
})
return {
'taxes': taxes,
'taxes': sorted(taxes, key=lambda k: k['sequence']),
'total_excluded': currency.round(total_excluded),
'total_included': currency.round(total_included),
}