From d9146b8f11ca71b0989d8ead9f89723b80196f2f 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 401b1962f96c..6308d00f716d 100644 --- a/l10n_br_ie_search/tests/test_sefaz.py +++ b/l10n_br_ie_search/tests/test_sefaz.py @@ -122,7 +122,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(