[FIX]hr:Resolve traceback while update manager in hr department.

- Task: https://www.odoo.com/web#id=9965&view_type=form&model=project.task&menu_id=3942&action=327
- Pad: https://pad.odoo.com/p/r.Mu3h3hstaDbMVIOl