Support for REAGYP special regime taxes

This commit is contained in:
Daniel Möller 2017-06-12 12:23:14 +02:00
parent 76cd33b511
commit bcec6934a2
1 changed files with 2 additions and 0 deletions

View File

@ -701,6 +701,8 @@ class RecievedTrytonInvoiceMapper(mapping.RecievedInvoiceMapper,
specialkey_or_trascendence = attrgetter('sii_received_key')
move_date = attrgetter('move.date')
deductible_amount = attrgetter('tax_amount') # most of the times
tax_reagyp_rate = BaseTrytonInvoiceMapper.tax_rate
tax_reagyp_amount = BaseTrytonInvoiceMapper.tax_amount
class SIIReportLine(ModelSQL, ModelView):