Skip to content

Commit 404f962

Browse files
committed
nfe WIP
1 parent 20b01a8 commit 404f962

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

l10n_br_nfe/models/res_partner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,9 @@ def match_or_create_m2o(self, rec_dict, parent_dict, model=None):
302302

303303
if rec_dict.get("cnpj_cpf", False):
304304
domain_cnpj = [
305-
"|",
306305
"|",
307306
("cnpj_cpf_stripped", "=", rec_dict["cnpj_cpf"]),
308307
("vat", "=", cnpj_cpf.formata(rec_dict["cnpj_cpf"])),
309-
("l10n_br_cpf_code", "=", cnpj_cpf.formata(rec_dict["cnpj_cpf"])),
310308
]
311309
match = self.search(domain_cnpj, limit=1)
312310
if match:

0 commit comments

Comments
 (0)