From 4b72966ea888c051ee91741e50cbcfe9b682262a Mon Sep 17 00:00:00 2001 From: amoyaux Date: Wed, 9 Aug 2017 10:59:57 +0200 Subject: [PATCH] [FIX] stock : Stock user should be able to create a picking. A stock user is not allowed to save a picking. It happens because the picking view use the field show_operations that is a related to stock.picking.type.show_operations. Since stock user do not have right to write on picking type it will fail. This commit add a readonly on show_operation on the picking view (already invisible). With that change the field will not be send to the server and thus not writed. --- addons/stock/views/stock_picking_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 00c06dbca2d..1fca0c2b2b2 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -213,7 +213,7 @@