diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-02-07 14:31:15 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-02-07 17:15:29 +0000 |
| commit | 16525d5b568e61de8daeaa4dee9c2977a5aaa44c (patch) | |
| tree | d73c4694134aa0437d872130603c225a90014a7d /addons/note/data/note_data.xml | |
| parent | 73c6863d3ad81d7e62e4f2e23be8b1b6e940ab79 (diff) | |
[FIX] hr_holidays: incorrect number_of_hours_display
- Go to Settings > Technical > Resource > Working Times
- Have a Resource Calendar RC with Average hour per day != 8.00
- Have an Employee E with Working Hours == RC
- Leaves > Configuration > Leave Types
- Have a Leave Type LT with Take Leaves in Hours
- Leaves > Managers > All > Allocations
- Create an Allocation A with Employee E and Leave Type LT
- Enter any number in Duration
The number of hours entered changes as we leave the field.
Being totally honest, what happens here is not clear at all, but using
the corresponding `resource_id.calendar_id` field seems to fix the
problem.
opw-2191795
closes odoo/odoo#44903
X-original-commit: e239b354da9fa072e03e4d1186927fa3d74bcfe6
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions
