def METHOD_NAME(cls):
    super().METHOD_NAME()
    # create account
    account = cls.env["account.account"].create(
        dict(
            name="test account",
            code="1",
            account_type="income",
        )
    )
    # create report
    cls.report = cls.env["mis.report"].create(dict(name="test report"))
    cls.kpi1 = cls.env["mis.report.kpi"].create(
        dict(
            report_id=cls.report.id,
            name="k1",
            description="kpi 1",
            expression="balp[('id', '=', {})]".format(account.id),
        )
    )
    # budget
    cls.budget = cls.env["mis.budget.by.account"].create(
        dict(
            name="the budget",
            date_from="2017-01-01",
            date_to="2017-12-31",
            company_id=cls.env.ref("base.main_company").id,
            item_ids=[
                (
                    0,
                    0,
                    dict(
                        account_id=account.id,
                        date_from="2017-01-01",
                        date_to="2017-01-08",
                        debit=11,
                    ),
                ),
                (
                    0,
                    0,
                    dict(
                        account_id=account.id,
                        date_from="2017-01-09",
                        date_to="2017-01-16",
                        debit=13,
                    ),
                ),
            ],
        )
    )