[IMP] project,hr_timesheet: module dependencies
For historical reason, project depended on product. Probably to use UoM. Now, UoM is extracted in 'uom' module, and project does not use UoM anymore (only with timesheet). Removing the 'product' dependency requires to make hr_timesheet depending of uom, since this one really use UoM mecanism. Task #39079
This commit is contained in:
@@ -20,7 +20,7 @@ It is completely integrated with the cost accounting module. It allows you to se
|
||||
up a management by affair.
|
||||
""",
|
||||
'website': 'https://www.odoo.com/page/timesheet-mobile-app',
|
||||
'depends': ['hr', 'analytic', 'project'],
|
||||
'depends': ['hr', 'analytic', 'project', 'uom'],
|
||||
'data': [
|
||||
'security/hr_timesheet_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
||||
@@ -6,8 +6,6 @@ access_account_analytic_account_user,account.analytic.account,analytic.model_acc
|
||||
access_account_analytic_account_manager,account.analytic.account,analytic.model_account_analytic_account,project.group_project_manager,1,1,1,1
|
||||
access_account_analytic_account_portal,account_analytic_account,analytic.model_account_analytic_account,base.group_portal,1,0,0,0
|
||||
access_account_analytic_line_project,account.analytic.line project,analytic.model_account_analytic_line,project.group_project_manager,1,1,1,1
|
||||
access_product_product_user,product.product.timesheet.user,product.model_product_product,hr_timesheet.group_hr_timesheet_user,1,1,1,0
|
||||
access_product_template_timesheet_user,product.template.timesheet.user,product.model_product_template,hr_timesheet.group_hr_timesheet_user,1,1,1,0
|
||||
access_uom_uom_hr_timesheet,uom.uom.timesheet.user,uom.model_uom_uom,hr_timesheet.group_hr_timesheet_user,1,0,0,0
|
||||
access_project_project,project.project.timesheet.user,model_project_project,hr_timesheet.group_hr_timesheet_user,1,0,0,0
|
||||
access_project_task,project.task.timesheet.user,model_project_task,hr_timesheet.group_hr_timesheet_user,1,1,0,0
|
||||
|
||||
|
@@ -10,7 +10,6 @@
|
||||
'summary': 'Organize and schedule your projects ',
|
||||
'depends': [
|
||||
'base_setup',
|
||||
'product',
|
||||
'mail',
|
||||
'portal',
|
||||
'rating',
|
||||
|
||||
Reference in New Issue
Block a user