Skip to content

Commit

Permalink
nfe WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Dec 29, 2024
1 parent 20b01a8 commit 404f962
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions l10n_br_nfe/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,9 @@ def match_or_create_m2o(self, rec_dict, parent_dict, model=None):

if rec_dict.get("cnpj_cpf", False):
domain_cnpj = [
"|",
"|",
("cnpj_cpf_stripped", "=", rec_dict["cnpj_cpf"]),
("vat", "=", cnpj_cpf.formata(rec_dict["cnpj_cpf"])),
("l10n_br_cpf_code", "=", cnpj_cpf.formata(rec_dict["cnpj_cpf"])),
]
match = self.search(domain_cnpj, limit=1)
if match:
Expand Down

0 comments on commit 404f962

Please sign in to comment.