diff --git a/sale_stock_secondary_unit/tests/test_sale_stock_secondary_unit.py b/sale_stock_secondary_unit/tests/test_sale_stock_secondary_unit.py index 3579f90421e..ad34e87b3b7 100644 --- a/sale_stock_secondary_unit/tests/test_sale_stock_secondary_unit.py +++ b/sale_stock_secondary_unit/tests/test_sale_stock_secondary_unit.py @@ -75,10 +75,9 @@ def setUpClass(cls): }, ) ], - "pricelist_id": cls.env.ref("product.list0").id, } ) - so.onchange_partner_id() + so._onchange_partner_id_warning() cls.order = cls.env["sale.order"].create(so._convert_to_write(so._cache)) def test_stock_move_line_secondary_unit(self):