diff --git a/l10n_it_riba/tests/riba_common.py b/l10n_it_riba/tests/riba_common.py index 7646505b393d..876724a935d0 100644 --- a/l10n_it_riba/tests/riba_common.py +++ b/l10n_it_riba/tests/riba_common.py @@ -160,8 +160,8 @@ def setUp(self): "company_id": self.company2.id, } ) - self.riba_config_sbf_maturazione = self.create_config("maturation") - self.riba_config_sbf_immediato = self.create_config("immediate") + self.riba_config_sbf_maturation = self.create_config("maturation") + self.riba_config_sbf_immediate = self.create_config("immediate") self.riba_config_incasso = self.create_config_incasso() self.company_bank.codice_sia = "AA555" diff --git a/l10n_it_riba/tests/test_riba.py b/l10n_it_riba/tests/test_riba.py index 434af46e6a52..e157c72cad3f 100644 --- a/l10n_it_riba/tests/test_riba.py +++ b/l10n_it_riba/tests/test_riba.py @@ -142,7 +142,7 @@ def riba_sbf_common(self, configuration_id): return invoice, riba_list def test_riba_sbf_maturation_flow(self): - invoice, riba_list = self.riba_sbf_common(self.riba_config_sbf_maturazione.id) + invoice, riba_list = self.riba_sbf_common(self.riba_config_sbf_maturation.id) bank_credit_line = False for credit_line in riba_list.credit_move_id.line_ids: @@ -216,7 +216,7 @@ def test_riba_sbf_maturation_flow(self): self.assertEqual(riba_list.line_ids[0].state, "credited") def test_riba_sbf_immediate_flow(self): - invoice, riba_list = self.riba_sbf_common(self.riba_config_sbf_immediato.id) + invoice, riba_list = self.riba_sbf_common(self.riba_config_sbf_immediate.id) # past due wizard past_due_wizard = ( @@ -340,7 +340,7 @@ def test_past_due_riba(self): riba_move_line_id = move_line.id # issue wizard wizard_riba_issue = self.env["riba.issue"].create( - {"configuration_id": self.riba_config_sbf_maturazione.id} + {"configuration_id": self.riba_config_sbf_maturation.id} ) action = wizard_riba_issue.with_context( active_ids=[riba_move_line_id] @@ -483,7 +483,7 @@ def test_riba_fatturapa(self): lambda x: x.account_id == self.account_rec1_id ) wizard_riba_issue = self.env["riba.issue"].create( - {"configuration_id": self.riba_config_sbf_maturazione.id} + {"configuration_id": self.riba_config_sbf_maturation.id} ) action = wizard_riba_issue.with_context( active_ids=[riba_move_line_id.id] @@ -588,7 +588,7 @@ def test_riba_fatturapa_group(self): lambda x: x.account_id == self.account_rec1_id ) wizard_riba_issue = self.env["riba.issue"].create( - {"configuration_id": self.riba_config_sbf_maturazione.id} + {"configuration_id": self.riba_config_sbf_maturation.id} ) action = wizard_riba_issue.with_context( active_ids=[riba_move_line_id.id, riba_move_line1_id.id]