From 8a5c510fbaf76b56caaebcc0d798c0b53c26555e Mon Sep 17 00:00:00 2001 From: Haresh Chavda Date: Thu, 19 Jul 2018 15:47:39 +0530 Subject: [PATCH] [IMP] Issus#99 : The requested operation cannot be completed due to security restrictions --- addons/stock/security/stock_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/security/stock_security.xml b/addons/stock/security/stock_security.xml index 01528090..1dae2647 100644 --- a/addons/stock/security/stock_security.xml +++ b/addons/stock/security/stock_security.xml @@ -170,7 +170,7 @@ Picking type multi-branch - ['|',('warehouse_id.branch_id','=',False), '|', ('warehouse_id.branch_id','in',[branch for branch in user.branch_ids.ids]), ('warehouse_id.branch_id','=', user.default_branch_id.id)] + ['|', ('warehouse_id','=',False), '|', ('warehouse_id.branch_id','=',False), '|', ('warehouse_id.branch_id','in',[branch for branch in user.branch_ids.ids]), ('warehouse_id.branch_id','=', user.default_branch_id.id)]