[IMP] project_issue_sheet: Replace dependency from hr_timesheet_sheet to hr_timesheet

Purpose:

What is the purpose of hr_timesheet_sheet ? Because it is installed when you install project_issue_sheet and you have a lot of unnecessary menus + ugly view of timesheet grid. For example in Timesheet menu: My Timesheets, All Timesheets, My Current Timesheets, My Timesheets, Detailed Activities (still timesheets), Timesheet App.
This commit is contained in:
Yannick Tivisse
2016-11-09 10:09:49 +01:00
parent fe6e6259b5
commit 327447dbb6
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ Worklogs can be maintained to signify number of hours spent by users to handle a
'website': 'https://www.odoo.com/page/project-management',
'depends': [
'project_issue',
'hr_timesheet_sheet',
'hr_timesheet',
],
'data': [
'views/project_issue_view.xml',
@@ -1,9 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_timesheet_sheet_sheet_project_user,hr_timesheet_sheet.sheet user,hr_timesheet_sheet.model_hr_timesheet_sheet_sheet,project.group_project_user,1,1,1,0
access_account_analytic_line_project_user,account_analytic_line user,hr_timesheet_sheet.model_account_analytic_line,project.group_project_user,1,1,1,0
access_account_analytic_line_project_manager,account_analytic_line manager,hr_timesheet_sheet.model_account_analytic_line,project.group_project_manager,1,0,0,0
access_hr_timesheet_sheet_sheet_project_manager,hr_timesheet_sheet.sheet manager,hr_timesheet_sheet.model_hr_timesheet_sheet_sheet,project.group_project_manager,1,0,0,0
access_account_analytic_line_project_manager,account.analytic.line.timesheet.project.manager,account.model_account_analytic_line,project.group_project_manager,1,1,1,1
access_account_invoice_project_manager,account.invoice.project.manager,account.model_account_invoice,project.group_project_manager,1,1,1,1
access_account_analytic_line_project_manager,account.analytic.line.timesheet.project.manager,analytic.model_account_analytic_line,project.group_project_manager,1,1,1,1
access_analytic_account_line_project_user,analytic_account_line_timesheet user,analytic.model_account_analytic_line,project.group_project_user,1,1,1,0
access_account_invoice_project_user,account.invoice.project.user,account.model_account_invoice,project.group_project_user,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_timesheet_sheet_sheet_project_user access_account_analytic_line_project_manager hr_timesheet_sheet.sheet user account.analytic.line.timesheet.project.manager hr_timesheet_sheet.model_hr_timesheet_sheet_sheet analytic.model_account_analytic_line project.group_project_user project.group_project_manager 1 1 1 0 1
access_account_analytic_line_project_user account_analytic_line user hr_timesheet_sheet.model_account_analytic_line project.group_project_user 1 1 1 0
access_account_analytic_line_project_manager account_analytic_line manager hr_timesheet_sheet.model_account_analytic_line project.group_project_manager 1 0 0 0
access_hr_timesheet_sheet_sheet_project_manager hr_timesheet_sheet.sheet manager hr_timesheet_sheet.model_hr_timesheet_sheet_sheet project.group_project_manager 1 0 0 0
access_account_analytic_line_project_manager account.analytic.line.timesheet.project.manager account.model_account_analytic_line project.group_project_manager 1 1 1 1
access_account_invoice_project_manager account.invoice.project.manager account.model_account_invoice project.group_project_manager 1 1 1 1
3 access_analytic_account_line_project_user analytic_account_line_timesheet user analytic.model_account_analytic_line project.group_project_user 1 1 1 0
access_account_invoice_project_user account.invoice.project.user account.model_account_invoice project.group_project_user 1 1 1 0