Skip to content

Commit

Permalink
[REF] l10n_br_nfe: rg -> l10n_br_rg_code
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Sep 27, 2024
1 parent 79f8ead commit cb76408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_br_nfe/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def _export_field(self, xsd_field, class_obj, member_spec, export_value=None):
return "EX"

if xsd_field == "nfe40_idEstrangeiro":
return self.vat or self.cnpj_cpf or self.rg or "EXTERIOR"
return self.vat or self.cnpj_cpf or self.l10n_br_rg_code or "EXTERIOR"

return super()._export_field(xsd_field, class_obj, member_spec, export_value)

Expand Down

0 comments on commit cb76408

Please sign in to comment.