From b08fbfd26a5a7274be29e453925943aac003a1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Sun, 29 Dec 2024 07:31:00 +0000 Subject: [PATCH] nfe WIP --- l10n_br_nfe/models/res_partner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/l10n_br_nfe/models/res_partner.py b/l10n_br_nfe/models/res_partner.py index acecc212876f..003ffc8c5c66 100644 --- a/l10n_br_nfe/models/res_partner.py +++ b/l10n_br_nfe/models/res_partner.py @@ -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: