def METHOD_NAME(cls):
    super(TestSaleContract, cls).METHOD_NAME()
    cls.user_sales_all_documents = cls.env["res.users"].create(
        {
            "name": "user rights all documents ",
            "login": "test1",
            "groups_id": [
                (6, 0, [cls.env.ref("sales_team.group_sale_salesman_all_leads").id])
            ],
        }
    )
    cls.user_sales_own_documents = cls.env["res.users"].create(
        {
            "name": "user rights own documents ",
            "login": "test2",
            "groups_id": [
                (6, 0, [cls.env.ref("sales_team.group_sale_salesman").id])
            ],
        }
    )
    cls.pricelist = cls.env["product.pricelist"].create(
        {"name": "pricelist for contract test"}
    )
    cls.partner = cls.env["res.partner"].create(
        {
            "name": "Test contract partner",
            "property_product_pricelist": cls.pricelist.id,
        }
    )