Hi all,
I have a problem for updating Time Off.
It seems the cron job is not executing correctly :
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 332, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in File "/usr/lib/python3/dist-packages/odoo/addons/hr_holidays/models/hr_leave_allocation.py", line 469, in _update_accrual allocations._process_accrual_plans() File "/usr/lib/python3/dist-packages/odoo/addons/hr_holidays/models/hr_leave_allocation.py", line 421, in _process_accrual_plans nextcall = current_level._get_next_date(allocation.nextcall) AttributeError: 'bool' object has no attribute '_get_next_date'
Accrual plan is configured as below :
- Starts 1 day(s) after allocation start date
- Adds 2.08 Days
- Monthly on the 31 day of the month
- Limit of 25.00 Days
- At the end of the year, unused accruals will be lost
Does anybody have an idea of this issue ?
Kind regards
Florian