Fix filed name call

This commit is contained in:
Bernat Brunet Torruella 2018-10-19 09:57:07 +02:00
parent 1db257cafb
commit 70b7da1079
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ class SIIReport(Workflow, ModelSQL, ModelView):
reg.DatosFacturaEmitida.ClaveRegimenEspecialOTrascendencia),
'total_amount': _decimal(reg.DatosFacturaEmitida.ImporteTotal),
'taxes': [('add', [t.id for t in taxes])] if taxes else [],
'exemption_cause': exemption,
'exemption_key': exemption,
'counterpart_name': (
reg.DatosFacturaEmitida.Contraparte.NombreRazon
if reg.DatosFacturaEmitida.Contraparte else None),