diff --git a/tests/test_sale_order.py b/tests/test_sale_order.py index b47c19a8d4eb21a347c9282aa3381e34391e7adc..6b045b761b5e8145148e515b4306bbb1bdb44385 100644 --- a/tests/test_sale_order.py +++ b/tests/test_sale_order.py @@ -72,7 +72,7 @@ class TestModel(TransactionCase): 'product_id': self.product_3.id, 'product_uom_qty': 4, 'price_unit': 5.00, - }), (0, 0, { + }), (0, 0, { 'name': 'Product 1', 'product_id': self.product_1.id, 'product_uom_qty': 24, @@ -99,6 +99,6 @@ class TestModel(TransactionCase): def test_if_create_stock_picking_related_to_order_line(self): total_pickings = len(self.stock_picking.search([])) self.new_order.action_confirm() - assert len(self.stock_picking.search([])) == total_pickings + 3 + assert len(self.stock_picking.search([])) == total_pickings + 1 for picking in self.new_order.picking_ids: assert picking.location_id.id == self.implantation_location_1.location_id.id