def METHOD_NAME(self):
    super(TestSaleOrder, self).METHOD_NAME()
    self.partner = self.env.ref("base.res_partner_1")
    self.product = self.env["product.product"].create({"name": "test product"})
    self.product_uom_unit = self.env.ref("uom.product_uom_unit")
    self.pricelist = self.env.ref("product.list0")
    self.sale_order = self.env["sale.order"].create(
        {
            "name": "test SO",
            "partner_id": self.partner.id,
            "partner_invoice_id": self.partner.id,
            "partner_shipping_id": self.partner.id,
            "pricelist_id": self.pricelist.id,
            "order_line": [
                (
                    0,
                    0,
                    {
                        "product_id": self.product.id,
                        "name": "Test Line",
                        "product_uom": self.product_uom_unit.id,
                        "product_uom_qty": 2.0,
                        "price_unit": 400.00,
                        "config_session_id": self.session_id.id,
                    },
                ),
            ],
        }
    )