From 408529c556185c2d0e7bc487b3b79c6b7253f206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roc=C3=ADo=20Vega?= Date: Tue, 16 Jul 2024 13:51:06 -0300 Subject: [PATCH] [17.0][MIG] sale_stock_secondary_unit: Migration to 17.0 --- .../tests/test_sale_stock_secondary_unit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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):