Fix bug on a sum

This commit is contained in:
Bernat Brunet Torruella 2018-06-13 13:50:53 +02:00
parent 3b45e48806
commit 0c703b4427

View file

@ -64,7 +64,7 @@ class BaseTrytonInvoiceMapper(Model):
for tax in taxes:
tax_base = _amount_getter('company_base')
tax_amount = _amount_getter('company_amount')
total += tax_base + tax_amount)
total += (tax_base + tax_amount)
return total
counterpart_id_type = attrgetter('party.sii_identifier_type')