From 1482d06c2f93fee0377a889514fa680c77262401 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 +-- test-requirements.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 test-requirements.txt 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): diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 66bc2cbae3f..00000000000 --- a/test-requirements.txt +++ /dev/null @@ -1 +0,0 @@ -odoo_test_helper