odoo/enterprise#62045

Created by Fun Services, K Theja (kthe)

Blocked

label
odoo-dev:master-imp-project-contract-gantt-kthe
head
dd78c68ffa63668ce9cad5a8fc56d7b2f3a9f065
odoo/odoo odoo/enterprise
master #191917 missing r+ #62045 missing r+

[DRAFT][IMP] project_enterprise_hr_contract: added contract in gantt view

<h3><b>[REF] planning: refactor changes from planning_contract</b></h3>

Contract unavailabilities have been simplified using gantt unavailabilities.

The hoot test cases have been refactored as we have unified the mock models.

Moved a test case to community.


<h3><b>[IMP] project_enterprise_hr: add contract based graying in gantt view</b></h3>

Added contract unavailabilities through gantt unavailabilities.

Added some hoot test cases.


<h3><b>[FIX] web_gantt: thrash invalid data passed in unavailabilities</b></h3>

If there is a invalid data type i.e., a object instead of array, it
is now thrashed to undefined rather throwing out an error.

task-3885152