diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-01-17 12:32:13 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-01-20 08:09:08 +0000 |
| commit | f211eaafcba64bf51a036218d6d6ebbf0864ab6b (patch) | |
| tree | 1e5246c2132b66e445564daec5ca9da7e8a5097f /addons/mrp_subcontracting/models | |
| parent | c6dff462035feb4d949a646c05ae4e2e8092c224 (diff) | |
[FIX] hr_holidays: allocation multi-company
As Mitchell Admin:
- Install Leaves
- General Settings > Multi Company
- Create companies A (YourCompany) and B
- Mitchell Admin should be an employee of A, not B
- Switch to company B
- Go to Leaves > Managers > All > Allocations
An AccessError is raised in `_compute_number_of_hours_display` because
we try to access `employee_id.resource_calendar_id.hours_per_day`.
After this AccessError is solved, several others are raised when
accessing a record. They are solved in this commit.
opw-2160542
closes odoo/odoo#43529
X-original-commit: 97085bf16e009ea563719385c8c7073436a1aa7e
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mrp_subcontracting/models')
0 files changed, 0 insertions, 0 deletions
