Skip to content

Commit 6099fe9

Browse files
committed
[ADD] l10n_ar_edi_ux: POC response padron
1 parent 5cfcf66 commit 6099fe9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

l10n_ar_edi_ux/models/res_partner.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def get_data_from_padron_afip(self):
131131
if errors:
132132
raise UserError(error_msg % (self.name, vat, errors))
133133

134+
# TODO DELETE poc response
135+
values.update({'comment': str(res)})
136+
134137
# Serializamos una sola vez
135138
res = serialize_object(res, dict)
136139
res = self._clean_response_obj(res)

l10n_ar_edi_ux/wizards/res_partner_update_from_padron_wizard.py

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def _get_domain(self):
5454
'imp_iva_padron', 'state_id', 'imp_ganancias_padron', 'monotributo_padron', 'actividad_monotributo_padron',
5555
'empleador_padron', 'integrante_soc_padron', 'last_update_padron', 'l10n_ar_afip_responsibility_type_id',
5656
# 'constancia
57+
58+
# TODO KZ poc response
59+
'comment',
5760
]
5861
return [('model', '=', 'res.partner'), ('name', 'in', fields_names)]
5962

0 commit comments

Comments
 (0)