def METHOD_NAME(self):
    super(TestRibaCommon, self).METHOD_NAME()
    self.service_due_cost = self._create_service_due_cost()
    self.account_model = self.env["account.account"]
    self.move_line_model = self.env["account.move.line"]
    self.move_model = self.env["account.move"]
    self.distinta_model = self.env["riba.distinta"]
    self.account_user_type = self.env.ref("account.data_account_type_receivable")
    self.account_asset_user_type = self.env.ref(
        "account.data_account_type_fixed_assets"
    )
    self.partner = self.env.ref("base.res_partner_3")
    self.partner.vat = "IT01234567890"
    self.product1 = self.env.ref("product.product_product_5")
    self.sale_journal = self.env["account.journal"].search([("type", "=", "sale")])[
        0
    ]
    self.bank_journal = self.env["account.journal"].search(
        [("type", "=", "bank")], limit=1
    )
    self.payment_term1 = self._create_pterm()
    self.payment_term2 = self._create_pterm2()
    self.account_rec1_id = self.account_model.create(
        dict(
            code="cust_acc",
            name="customer account",
            user_type_id=self.account_user_type.id,
            reconcile=True,
        )
    )
    self.sale_account = self.env["account.account"].search(
        [
            (
                "user_type_id",
                "=",
                self.env.ref("account.data_account_type_revenue").id,
            )
        ],
        limit=1,
    )
    self.expenses_account = self.env["account.account"].search(
        [
            (
                "user_type_id",
                "=",
                self.env.ref("account.data_account_type_expenses").id,
            )
        ],
        limit=1,
    )
    self.bank_account = self.env["account.account"].search(
        [
            (
                "user_type_id",
                "=",
                self.env.ref("account.data_account_type_liquidity").id,
            )
        ],
        limit=1,
    )
    self.invoice = self._create_invoice()
    self.invoice2 = self._create_invoice()
    self.sbf_effects = self.env["account.account"].create(
        {
            "code": "STC",
            "name": "STC Bills (test)",
            "reconcile": True,
            "user_type_id": self.account_user_type.id,
        }
    )
    self.riba_account = self.env["account.account"].create(
        {
            "code": "C/O",
            "name": "C/O Account (test)",
            "user_type_id": self.account_asset_user_type.id,
        }
    )
    self.unsolved_account = self.env["account.account"].create(
        {
            "code": "Past Due",
            "name": "Past Due Bills Account (test)",
            "reconcile": True,
            "user_type_id": self.account_user_type.id,
        }
    )
    self.company_bank = self.env.ref("l10n_it_ricevute_bancarie.company_bank")
    self.riba_config = self.create_config()
    self.account_payment_term_riba = self.env.ref(
        "l10n_it_ricevute_bancarie.account_payment_term_riba"
    )
    self.company_bank.codice_sia = "AA555"