do_web_gantt

Timeline / Gantt View

A generic Gantt view type for any Odoo model.

Odoo 19 Community Enterprise OPL-1 Free

Odoo Community has no Gantt view type at all, and Odoo's own web_gantt is Enterprise-only. This adds one the same way Community's web_hierarchy adds its view type, so any model can use it — yours included.

Use it on any model

<do_gantt date_start="date_begin" date_stop="date_end" progress="completion" color="color" default_group_by="user_id" dependency_field="predecessor_ids" default_scale="week" scales="day,week,month,quarter,year" decoration-danger="is_late"> <field name="user_id"/> </do_gantt>

Then view_mode="do_gantt,list,form" on any action.

Installs safely next to Enterprise

The type is called do_gantt, not gantt, on purpose. Claiming Odoo's name would break an Enterprise database: the JS registry raises on a duplicate key, and view validation dispatches on the tag name, so each module's validator would be applied to the other's views. Verified on a database running both.

Mistakes are caught at install, not in the browser

Each of those would otherwise render an empty chart with nothing in the log.

Independent implementation

Written against the Odoo Community sources. It contains no Enterprise code, markup or assets and depends on no Enterprise module. See NOTICE.md in the module for the provenance audit.

Screenshots

The view type on project tasks - five scales, dependency arrows, today marker, decoration colours

The view type on project tasks - five scales, dependency arrows, today marker, decoration colours

The same view type on a completely different model, grouped - this is what makes it generic

The same view type on a completely different model, grouped - this is what makes it generic