[FIX]Fixed tax sequnce issue on result of computed tax.
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user