def METHOD_NAME(cls):
    super().METHOD_NAME()
    cls.purchase_account = cls.env["account.account"].create(
        dict(
            code="X1020",
            name="Product Purchase - (test)",
            user_type_id=cls.env.ref("account.data_account_type_revenue").id,
        )
    )
    cls.purchase_journal = cls.env["account.journal"].create(
        dict(
            name="Purchase Journal - (test)",
            code="TPJ",
            type="purchase",
            refund_sequence=True,
            default_account_id=cls.purchase_account.id,
        )
    )
    cls.init_number_of_fiscal_docs = cls.env[
        "l10n_br_fiscal.document"
    ].search_count([])
    cls.init_number_of_fiscal_doc_lines = cls.env[
        "l10n_br_fiscal.document.line"
    ].search_count([])
    cls.invoice_1 = cls.env["account.move"].create(
        dict(
            name="Test Supplier Invoice 1",
            move_type="in_invoice",
            invoice_date=fields.Date.today(),
            partner_id=cls.env.ref("base.res_partner_3").id,
            journal_id=cls.purchase_journal.id,
            invoice_line_ids=[
                (
                    0,
                    0,
                    {
                        "product_id": cls.env.ref("product.product_product_5").id,
                        "quantity": 10.0,
                        "price_unit": 450.0,
                        "account_id": cls.env["account.account"]
                        .search(
                            [
                                (
                                    "user_type_id",
                                    "=",
                                    cls.env.ref(
                                        "account.data_account_type_revenue"
                                    ).id,
                                ),
                                (
                                    "company_id",
                                    "=",
                                    cls.env.company.id,
                                ),
                            ],
                            limit=1,
                        )
                        .id,
                        "name": "product test 5",
                        "uom_id": cls.env.ref("uom.product_uom_unit").id,
                    },
                )
            ],
        )
    )