From 277d71d56cecc71a98a418e1d3636faf23f3b748 Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Wed, 14 Sep 2022 06:56:39 +0000 Subject: [PATCH] [IMP] hr_hourly_cost: remove security group Remove the security group introduced in odoo/odoo#97988 as it's redundant with the group_hr_user. task-2929518 closes odoo/odoo#100127 Signed-off-by: Kevin Baptiste --- addons/hr_hourly_cost/__manifest__.py | 1 - .../security/hr_hourly_cost_security.xml | 11 ----------- addons/hr_hourly_cost/views/hr_employee_views.xml | 4 ++-- .../hr_timesheet/security/hr_timesheet_security.xml | 3 +-- 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 addons/hr_hourly_cost/security/hr_hourly_cost_security.xml diff --git a/addons/hr_hourly_cost/__manifest__.py b/addons/hr_hourly_cost/__manifest__.py index 1c6fda8db0c..f700aaa8c63 100644 --- a/addons/hr_hourly_cost/__manifest__.py +++ b/addons/hr_hourly_cost/__manifest__.py @@ -12,7 +12,6 @@ This module assigns an hourly wage to employees to be used by other modules. """, 'depends': ['hr'], 'data': [ - 'security/hr_hourly_cost_security.xml', 'views/hr_employee_views.xml', ], 'demo': [ diff --git a/addons/hr_hourly_cost/security/hr_hourly_cost_security.xml b/addons/hr_hourly_cost/security/hr_hourly_cost_security.xml deleted file mode 100644 index 30318334958..00000000000 --- a/addons/hr_hourly_cost/security/hr_hourly_cost_security.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Administrator - - - - - - diff --git a/addons/hr_hourly_cost/views/hr_employee_views.xml b/addons/hr_hourly_cost/views/hr_employee_views.xml index c9358efef6e..289bedc6c6e 100644 --- a/addons/hr_hourly_cost/views/hr_employee_views.xml +++ b/addons/hr_hourly_cost/views/hr_employee_views.xml @@ -10,8 +10,8 @@ Application Settings -