When i install web_gantt it dosen't make an error but instead it shows a js error :
The following modules are needed by other modules but have not been
defined, they may not be present in the correct asset bundle:
- @web/core/virtual_hook
- @web/webclient/actions/action_hook
The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:
- @web_gantt/gantt_renderer
- @web_gantt/gantt_view
Found a solution to : scrollSymbol @web/webclient/actions/action_hook (17), it is at @web/search/action_hook (18) as it changed its place in the directory
But the @web/core/virtual_hook is now @web/core/virtual_grid_hook
And it's logic is different since it accepts different parameters.
Still these problems are bypassed until i call the "gantt" view from "hr_work_entry_contract_entreprise" views, it says :
File "/home/alchemycode/Desktop/Alchemy/odoo/odoo18/odoo/fields.py", line 2936, in convert_to_cache
raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for ir.actions.act_window.view.view_mode: 'gantt'
odoo.tools.convert.ParseError: while parsing /home/alchemycode/Desktop/Alchemy/odoo/addons_hr_payroll/hr_work_entry_contract_enterprise/views/hr_work_entry_views.xml:4, somewhere inside
<record id="hr_work_entry_action_view_gantt" model="ir.actions.act_window.view">
<field name="sequence" eval="2"/>
<field name="view_mode">gantt</field>
<field name="act_window_id" ref="hr_work_entry.hr_work_entry_action"/>
</record>
Anyone knows a solution ?