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).
1.7 KiB
1.7 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_account_analytic_line_user | analytic.account.analytic.line.timesheet.user | analytic.model_account_analytic_line | hr_timesheet.group_hr_timesheet_user | 1 | 1 | 1 | 1 |
| 3 | access_account_analytic_line_portal | access_timesheets_portal | analytic.model_account_analytic_line | base.group_portal | 1 | 0 | 0 | 0 |
| 4 | access_account_analytic_user | analytic.account.analytic.timesheet.user | analytic.model_account_analytic_account | hr_timesheet.group_hr_timesheet_user | 1 | 1 | 0 | 0 |
| 5 | access_account_analytic_account_user | account.analytic.account | analytic.model_account_analytic_account | project.group_project_user | 1 | 0 | 0 | 0 |
| 6 | access_account_analytic_account_manager | account.analytic.account | analytic.model_account_analytic_account | project.group_project_manager | 1 | 1 | 1 | 1 |
| 7 | access_account_analytic_account_portal | account_analytic_account | analytic.model_account_analytic_account | base.group_portal | 1 | 0 | 0 | 0 |
| 8 | access_account_analytic_line_project | account.analytic.line project | analytic.model_account_analytic_line | project.group_project_manager | 1 | 1 | 1 | 1 |
| 9 | access_product_product_user | product.product.timesheet.user | product.model_product_product | hr_timesheet.group_hr_timesheet_user | 1 | 1 | 1 | 0 |
| 10 | access_product_template_timesheet_user | product.template.timesheet.user | product.model_product_template | hr_timesheet.group_hr_timesheet_user | 1 | 1 | 1 | 0 |
| 11 | access_uom_uom_hr_timesheet | uom.uom.timesheet.user | uom.model_uom_uom | hr_timesheet.group_hr_timesheet_user | 1 | 0 | 0 | 0 |
| 12 | access_project_project | project.project.timesheet.user | model_project_project | hr_timesheet.group_hr_timesheet_user | 1 | 0 | 0 | 0 |
| 13 | access_project_task | project.task.timesheet.user | model_project_task | hr_timesheet.group_hr_timesheet_user | 1 | 1 | 0 | 0 |