def METHOD_NAME(self):
    self.product_1.product_tmpl_id.categ_id.property_cost_method = "average"
    self.product_2.product_tmpl_id.categ_id.property_cost_method = "average"
    # price p1 = 50, qty p1 = 10
    self.create_po()
    self.price_p1 = 60.0
    self.price_p2 = 60.0
    self.create_po()
    self.assertEqual(self.product_1.standard_price, 55)
    self.assertEqual(self.product_2.standard_price, 55)
    self.qty_so_p1 = 1.0
    self.create_so()
    # valoarea de stoc dupa vanzarea produselor
    val_stock_p1 = round(self.qty_po_p1 * 50 + self.qty_po_p1 * 60 - 1 * 55, 2)
    val_stock_p2 = round(
        self.qty_po_p2 * 50 + self.qty_po_p2 * 60 - self.qty_so_p2 * 55, 2
    )
    self.check_stock_valuation(val_stock_p1, val_stock_p2)
    self.check_account_valuation(-1 * 55, -self.qty_so_p2 * 55)
    # vanzare restul => stock = 0
    self.qty_so_p1 = 19
    self.qty_so_p2 = 15
    self.create_so()
    self.check_stock_valuation(0.0, 0.0)
    self.check_account_valuation(
        -1 * 2 * self.qty_po_p1 * 55, -1 * 2 * self.qty_po_p2 * 55
    )