From ee25214332284fa6da4f50d6aeef378e77923c51 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Mon, 7 Oct 2019 10:24:12 +0000 Subject: [PATCH] [FIX] stock: lot not found for delivery on mobile Before this commit, on mobile, when you make a delivery for a tracked product you can't find already existing production lot for this product. The issue was the `company_id` wasn't passed in the context and we use a domain related on this field. How to reproduce the issue: - Create a product tracked by lot number; - Add some quantities for this product by creating a production lot; - From a delivery order, try to specify the LN which are part of the picking, none are visible (records not found). X-original-commit: dd49f405690a423ae5959e721cbf41492df2d507 --- addons/stock/views/stock_move_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index df2fdbc2d3a..bdc65247ff9 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -211,7 +211,7 @@ - +