A leave type now generate timesheet by default. So the internal project/task are taken from the leave type company (a default value for the company has been added). To allow the hr leave manager to select a project, he should be alble to read the analytic account (otherwise, crash when calling name_get). Setting the default internal project/task is advanced, so hidden in debug mode on timesheet config.
235 B
235 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_account_analytic_account_leaves_manager | account.analytic.account | analytic.model_account_analytic_account | hr_holidays.group_hr_holidays_manager | 1 | 0 | 0 | 0 |