def setUpClass(cls):
        super().setUpClass()
        cls.account_obj = cls.env["account.account"]
        cls.model_obj = cls.env["ir.model"]
        cls.field_obj = cls.env["ir.model.fields"]
        cls.invoice = cls.env["account.move"].create(
            {"journal_id": cls.journal.id, "partner_id": cls.partner.id}
        )
        # Mock data for testing model dimension, by_sequence with fitered
        vals = {
            "name": "A",
            "line_ids": [  # use sequence as record identifier
                (0, 0, {"value": "percent", "sequence": 1001}),
                (0, 0, {"value": "balance", "sequence": 1002}),
            ],
        }
        cls.payterm_a = cls.env["account.payment.term"].create(vals)