From 3b9511285a0a501f8a156d3835e8af8054bc484e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Voet=20=28ryv=29?= Date: Wed, 4 Aug 2021 07:52:07 +0000 Subject: [PATCH] [FIX] purchase_stock: avoid unaccess Error The receipt count smart button is on the PO form even if the user is not able to see the delivery. Add `stock.group_stock_user` on the button (Also remove the useless picking_ids fieds of the form). task-2486811 Part-of: odoo/odoo#75041 --- addons/purchase_stock/views/purchase_views.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/purchase_stock/views/purchase_views.xml b/addons/purchase_stock/views/purchase_views.xml index be0d86a0121..22a94b4e4f6 100644 --- a/addons/purchase_stock/views/purchase_views.xml +++ b/addons/purchase_stock/views/purchase_views.xml @@ -7,7 +7,10 @@ -