Files
odoo_source/addons/hr_timesheet/security/ir.model.access.csv
T
jem-odoo 3dd3e26483 [IMP] project: a project is not an analytic account anymore !
This commit removes the inheritS between account.analytic.account and
project.project. This means :
- When a project is created, an analytic account is not necessarily
genareted
- project has now its own name, company_id and partner_id fields
- an analytic account can be linked to several project
- project module does not depend anymore of analytic, but hr_timesheet
does.

This change implied
- an analytic account is required on project to timesheet on
its tasks. So, when checking 'allow_timsheets', if an AA is not
provided at project creation, an AA will be generated.
- to timesheet on project, an active AA is required. We don't want
timesheeting on project linked to unused AA to avoid bad analytic
entries.

This prepare the fact a sale order can create multiple project, sharing
the same analytic account (the one from the SO).
2018-04-06 14:30:47 +02:00

1.7 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_account_analytic_line_useranalytic.account.analytic.line.timesheet.useranalytic.model_account_analytic_linehr_timesheet.group_hr_timesheet_user1111
3access_account_analytic_line_portalaccess_timesheets_portalanalytic.model_account_analytic_linebase.group_portal1000
4access_account_analytic_useranalytic.account.analytic.timesheet.useranalytic.model_account_analytic_accounthr_timesheet.group_hr_timesheet_user1100
5access_account_analytic_account_useraccount.analytic.accountanalytic.model_account_analytic_accountproject.group_project_user1000
6access_account_analytic_account_manageraccount.analytic.accountanalytic.model_account_analytic_accountproject.group_project_manager1111
7access_account_analytic_account_portalaccount_analytic_accountanalytic.model_account_analytic_accountbase.group_portal1000
8access_account_analytic_line_projectaccount.analytic.line projectanalytic.model_account_analytic_lineproject.group_project_manager1111
9access_product_product_userproduct.product.timesheet.userproduct.model_product_producthr_timesheet.group_hr_timesheet_user1110
10access_product_template_timesheet_userproduct.template.timesheet.userproduct.model_product_templatehr_timesheet.group_hr_timesheet_user1110
11access_uom_uom_hr_timesheetuom.uom.timesheet.useruom.model_uom_uomhr_timesheet.group_hr_timesheet_user1000
12access_project_projectproject.project.timesheet.usermodel_project_projecthr_timesheet.group_hr_timesheet_user1000
13access_project_taskproject.task.timesheet.usermodel_project_taskhr_timesheet.group_hr_timesheet_user1100