Add the new fields tht he proces of update from temaplte tax to tax

This commit is contained in:
Bernat Brunet Torruella 2018-06-15 15:19:06 +02:00
parent ab2d33a323
commit 4b73d7ff0c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class TemplateTax:
res = super(TemplateTax, self)._get_tax_value(tax)
for field in ('sii_book_key', 'sii_issued_key', 'sii_subjected_key',
'sii_excemption_key', 'sii_received_key',
'sii_intracomunity_key'):
'sii_intracomunity_key', 'tax_used', 'invoice_used'):
if not tax or getattr(tax, field) != getattr(self, field):
res[field] = getattr(self, field)