mirror of
https://gitlab.com/datalifeit/trytond-aeat_sii
synced 2023-12-13 20:30:37 +01:00
Fix bug on a sum
This commit is contained in:
parent
3b45e48806
commit
0c703b4427
|
@ -64,7 +64,7 @@ class BaseTrytonInvoiceMapper(Model):
|
||||||
for tax in taxes:
|
for tax in taxes:
|
||||||
tax_base = _amount_getter('company_base')
|
tax_base = _amount_getter('company_base')
|
||||||
tax_amount = _amount_getter('company_amount')
|
tax_amount = _amount_getter('company_amount')
|
||||||
total += tax_base + tax_amount)
|
total += (tax_base + tax_amount)
|
||||||
return total
|
return total
|
||||||
|
|
||||||
counterpart_id_type = attrgetter('party.sii_identifier_type')
|
counterpart_id_type = attrgetter('party.sii_identifier_type')
|
||||||
|
|
Loading…
Reference in a new issue