mirror of
https://gitlab.com/datalifeit/trytond-aeat_sii
synced 2023-12-13 20:30:37 +01:00
Add the new fields tht he proces of update from temaplte tax to tax
This commit is contained in:
parent
4784326361
commit
a014794b4a
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue