From ff9a01788fc8f7101a9c7c1f397e7bb09dec1b72 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 6 Aug 2020 17:00:53 +0000 Subject: [PATCH] [FIX] stock_dropshipping: test_lifo_price Because the picking_type of the new move was defined as show_operations=True, the quantity_done field on the lines was readonly. --- addons/stock_dropshipping/tests/test_lifo_price.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock_dropshipping/tests/test_lifo_price.py b/addons/stock_dropshipping/tests/test_lifo_price.py index 081a085a731..02c20f6a870 100644 --- a/addons/stock_dropshipping/tests/test_lifo_price.py +++ b/addons/stock_dropshipping/tests/test_lifo_price.py @@ -77,6 +77,7 @@ class TestLifoPrice(ValuationReconciliationTestCommon): purchase_order_lifo2.picking_ids[0].button_validate() # Let us send some goods + self.company_data['default_warehouse'].out_type_id.show_operations = False out_form = Form(self.env['stock.picking']) out_form.picking_type_id = self.company_data['default_warehouse'].out_type_id out_form.immediate_transfer = True