From a0b728c55661156de19391eb397fe76c07f18972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Sun, 29 Sep 2024 15:34:16 +0000 Subject: [PATCH] [REF] l10n_br_ie_search: CNPJ->vat --- l10n_br_ie_search/tests/test_sefaz.py | 2 +- l10n_br_ie_search/tests/test_sintegra.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_br_ie_search/tests/test_sefaz.py b/l10n_br_ie_search/tests/test_sefaz.py index 05383d042cfd..c963d55538a8 100644 --- a/l10n_br_ie_search/tests/test_sefaz.py +++ b/l10n_br_ie_search/tests/test_sefaz.py @@ -152,7 +152,7 @@ def test_sefaz(self): "certificate_ecnpj_id": self.cert.id, } ) - dummy._onchange_cnpj_cpf() + dummy._onchange_vat() action_wizard = dummy.action_open_cnpj_search_wizard() wizard_context = action_wizard.get("context") wizard = Form( diff --git a/l10n_br_ie_search/tests/test_sintegra.py b/l10n_br_ie_search/tests/test_sintegra.py index 73d6cd55417a..27e901576436 100644 --- a/l10n_br_ie_search/tests/test_sintegra.py +++ b/l10n_br_ie_search/tests/test_sintegra.py @@ -80,7 +80,7 @@ def set_param(self, param_name, param_value): def test_sintegra(self, mock_get_partner_ie): mock_get_partner_ie.return_value = self.retorno dummy = self.model.create({"name": "Dummy", "cnpj_cpf": "06990590000123"}) - dummy._onchange_cnpj_cpf() + dummy._onchange_vat() action_wizard = dummy.action_open_cnpj_search_wizard() wizard_context = action_wizard.get("context") wizard = Form(