From 6779166454c2a176366d8f7e2bea8a94618a0992 Mon Sep 17 00:00:00 2001 From: Antoine Huvelle Date: Tue, 3 Feb 2015 17:09:35 +0100 Subject: [PATCH] [FIX] stock: prevent creating inventories for virtual locations It makes no sense to allow inventories in supplier locations as it won't anyway reduce the Inventory if we want to downsize the inventory. This makes the Inventory act weird. Ex: 1. Initial situation: 20 units of stock A at supplier's location 2. Makes an inventory stating there is in fact 0 qty of product A at that location (in the hope to remove some quants). 3. Still 20 units in Suppliers location + 20 units in Inventory loss... Managing specific suppliers destination is currently not supported. Same issue with production locations. Fixes #5052 --- addons/stock/stock_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 46d0d4cfe11..41870b3d829 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -101,7 +101,7 @@ - +