Skip to content

Commit

Permalink
[FIX]l10n_ar_edi_ux:cambiar a tipo str/actividad padron afip
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohmontenegro committed Sep 7, 2022
1 parent 70e6b83 commit aac7ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_edi_ux/models/res_partner.py
Expand Up @@ -87,7 +87,7 @@ def get_data_from_padron_afip(self):
if isinstance(data_mt_actividades, (dict,)):
data_mt_actividades = [data_mt_actividades]

actividades = [act["idActividad"]
actividades = [str(act["idActividad"])
for act in data_rg.get("actividad", []) + data_mt_actividades]
cat_mt = data_mt.get("categoriaMonotributo", {})
monotributo = "S" if cat_mt else "N"
Expand Down

0 comments on commit aac7ca7

Please sign in to comment.