[IMP] hr_timesheet_work_entry: add permission for base users to read work types

This commit is contained in:
Jared Kipe
2021-09-02 09:21:16 -07:00
parent 7de1e9d6ad
commit 7b74cc5fbf
2 changed files with 4 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{ {
'name': 'Timesheet Work Entry Type', 'name': 'Timesheet Work Entry Type',
'description': 'Set work types on timesheet records.', 'description': 'Set work types on timesheet records.',
'version': '14.0.1.0.0', 'version': '14.0.1.0.1',
'website': 'https://hibou.io/', 'website': 'https://hibou.io/',
'author': 'Hibou Corp. <hello@hibou.io>', 'author': 'Hibou Corp. <hello@hibou.io>',
'license': 'AGPL-3', 'license': 'AGPL-3',
@@ -11,6 +11,7 @@
'hr_work_entry', 'hr_work_entry',
], ],
'data': [ 'data': [
'security/ir.model.access.csv',
'data/hr_timesheet_work_entry_data.xml', 'data/hr_timesheet_work_entry_data.xml',
'views/timesheet_views.xml', 'views/timesheet_views.xml',
'views/work_entry_views.xml', 'views/work_entry_views.xml',

View File

@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_work_entry_type_employee,access_hr_work_entry_type_employee,model_hr_work_entry_type,base.group_user,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_work_entry_type_employee access_hr_work_entry_type_employee model_hr_work_entry_type base.group_user 1 0 0 0