mirror of
https://gitlab.com/datalifeit/trytond-account_es_sii
synced 2023-12-14 06:13:02 +01:00
Add the new fields tht he proces of update from temaplte tax to tax
This commit is contained in:
parent
a3fe4755da
commit
1835f06e50
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,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)
|
||||
|
|
Loading…
Reference in a new issue