Fix filed name call
This commit is contained in:
parent
1db257cafb
commit
70b7da1079
2
aeat.py
2
aeat.py
|
@ -637,7 +637,7 @@ class SIIReport(Workflow, ModelSQL, ModelView):
|
||||||
reg.DatosFacturaEmitida.ClaveRegimenEspecialOTrascendencia),
|
reg.DatosFacturaEmitida.ClaveRegimenEspecialOTrascendencia),
|
||||||
'total_amount': _decimal(reg.DatosFacturaEmitida.ImporteTotal),
|
'total_amount': _decimal(reg.DatosFacturaEmitida.ImporteTotal),
|
||||||
'taxes': [('add', [t.id for t in taxes])] if taxes else [],
|
'taxes': [('add', [t.id for t in taxes])] if taxes else [],
|
||||||
'exemption_cause': exemption,
|
'exemption_key': exemption,
|
||||||
'counterpart_name': (
|
'counterpart_name': (
|
||||||
reg.DatosFacturaEmitida.Contraparte.NombreRazon
|
reg.DatosFacturaEmitida.Contraparte.NombreRazon
|
||||||
if reg.DatosFacturaEmitida.Contraparte else None),
|
if reg.DatosFacturaEmitida.Contraparte else None),
|
||||||
|
|
Loading…
Reference in New Issue