From 149506504156c21c20799b98dfd2cb644b6cf04d Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Fri, 21 Aug 2020 14:16:34 +0000 Subject: [PATCH] [FIX] stock, hr_holidays: fix server actions groups_id f0d37c384b299e5f35cddda02d3f56c6ad37a9a7 added a check on write access for server action. Since the fixed server action are readonly with strict access right, corresponding groups are added to avoid a warning. --- addons/hr_holidays/report/hr_leave_reports.xml | 1 + addons/stock/views/stock_quant_views.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/hr_holidays/report/hr_leave_reports.xml b/addons/hr_holidays/report/hr_leave_reports.xml index bbcec40a97d..efe3f81b668 100644 --- a/addons/hr_holidays/report/hr_leave_reports.xml +++ b/addons/hr_holidays/report/hr_leave_reports.xml @@ -109,6 +109,7 @@ code + action = model.action_time_off_analysis() diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index 10a674cdde6..ac9bf1e8993 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -160,6 +160,7 @@ Inventory code + action = model.with_context( search_default_internal_loc=1,