Gantt View - Gantt Chart for Projects, Tasks, Manufacturing, Leaves and Any Model, Critical Path, Gantt Baseline, MS Project XML, Task Stage Duration and Task Actual Start / End
by Modvanta https://modvantaapps.tech/odoo-apps/gantt-view/$ 14.96

A real Gantt chart and project scheduler for Odoo Community - critical path, baselines, MS Project XML
Adds a gantt view type to Odoo 19 Community with ready-made charts on tasks, manufacturing orders, work orders and time off, and turns the task gantt into a scheduler: four dependency types with lag, the critical path, task constraints, auto-scheduling in working time, saved baselines, resource load per person, and Microsoft Project XML import and export.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds a new gantt view type that any window action can use. It is installed on All Tasks, My Tasks and a project's tasks (grouped by assignee), on Manufacturing Orders (grouped by product), on Work Orders (grouped by work center) and on All Time Off (grouped by employee), next to the list, kanban and other views.
On tasks it is also a project scheduler. Each dependency has a type - Finish to Start, Start to Start, Finish to Finish or Start to Finish - and a lag or a lead in days. The critical path is computed on the server and drawn in red, bars and arrows, with the total slack of every task. Tasks can carry a constraint (Start No Earlier Than, Finish No Later Than, Must Start On) or be pinned as manual.
Switch on auto-scheduling on a project and the successors move when a task's dates or links change, or run the scheduler on the whole project and check the preview before anything is saved. With Respect Working Time the plan skips weekends, company closing days and the assignee's time off.
Save a baseline of the plan and the gantt draws it as a grey bar under every task, with the variance in days. The resource load shows the planned hours of each person per day, week or month against their working hours. Plans come in and go out as Microsoft Project XML, and the gantt prints as a PDF, downloads as a PNG image and exports to Excel and iCal.
The task stage duration from earlier releases is still there: the stage history of every task, its actual start and actual end, and planned vs actual on the task, in reports and on the chart.
Who it is for
Project managers See the critical path, the slack and the drift from the baseline, rebalance who is overloaded, and exchange plans with Microsoft Project. | Production planners Plan manufacturing orders by product and work orders by work center. | New in 2.0: plan on the chart itselfVersion 2.0 works in every gantt view of the module, on tasks, manufacturing orders, work orders, time off and your own models. After the update your charts look the same: days off, the grid columns and one row per task are switched on from the Options menu when you want them. New in 2.0 Link two tasks with the mouseHover a bar and two dots appear at its ends. Drag from one of them to another bar and the link is saved. The ends you join set the type: end to start is Finish to Start, start to start is Start to Start, and so on. A task linked to itself, the same link twice and a link that would close a loop are refused with a message. On an auto-scheduled project the successor moves straight away. ![]() New in 2.0 Click a link to remove it, undo anythingClick an arrow and confirm to remove the link. The undo button (or Ctrl+Z) takes back the last 20 changes made in the chart: moves, resizes, a task dropped on another person, new and removed links. When auto-scheduling pushed other tasks, they go back too. ![]() New in 2.0 Milestones and project markersTick Milestone Task on a task and it is drawn as a diamond on its deadline. The milestones of the project (Project > Milestones) and the project start and end dates show as flags across the chart. ![]() New in 2.0 Days off and time offSwitch on Days off in the Options menu. Company closing days are hatched over the whole chart, and the time off of each person is hatched in their own row, so you see who is away before you drop work on them. Only the dates are shown, never the reason. Work centers show their own closing hours in the work order gantt. ![]() New in 2.0 Unscheduled tasks panelThe Unscheduled button lists the records of your search that have no dates yet. Drag one onto a row and a day: it gets its dates and the person or work center of that row. ![]() New in 2.0 Collapse and expand rowsFold a row to a single summary bar, or fold them all at once. Folded rows stay folded the next time you open the chart in the same browser. ![]() New in 2.0 Sort, colour and lay out the chartThe Options menu sorts rows by start, end, name or duration, colours bars by project, stage, status or any other field shown in the tooltip, hides the left panel, and switches to one row per task. Zoom to fit picks the period that shows every record of your search, and full screen gives the chart the whole window (Esc to leave). ![]() New in 2.0 One row per task, with start and duration columnsWithout grouping, each task gets its own row, and the left panel can show its start date and its length in days next to the name. Here the bars are coloured by stage and sorted by start date. ![]() New in 2.0 Deadline flags on manufacturing ordersEach manufacturing order shows a small flag on its deadline. When the planned end runs past it, the flag and the end of the bar turn red. ![]() New in 2.0 Duration in days on the taskType a duration in days on the task form and the deadline follows the planned start. Drag over an empty part of a row in the chart to create a task over exactly that period. ![]() HR and team leads See who is off when, on one time off chart by employee. |
Key features
Every screen below is the module running on Odoo 19 with Project, Manufacturing and Time Off demo data.
Feature 1
Critical path, typed links and baseline on the task gantt
A project's tasks by assignee. The red bars and arrows are the critical path: the chain that sets the end date. The grey bar under each task is the saved baseline, the green or red line the actual dates.

Feature 2
Slack, baseline and link type on every bar
Hover a bar to see its planned, baseline and actual dates, its total slack, and its predecessors with the link type and lag (for example SS+1d).

Feature 3
Dependencies with type and lag, constraints, slack
The Scheduling tab of a task: its predecessors with Finish to Start, Start to Start, Finish to Finish or Start to Finish and a lag or lead in days, its constraint, the critical path flag and the baseline variance.

Feature 4
Auto-schedule a project with a preview
Choose "fix broken links only" or "as soon as possible" and see every task that would move, old and new dates and the shift in days, with constraint warnings, before you click Apply.

Feature 5
Baselines and variance
Save as many baselines as you need per project, pick the one the gantt compares with, and read the start and end variance of every task against the current or actual dates.

Feature 6
Resource load per person
Planned hours per person per week across projects, from the allocated time of the tasks spread over working days, against the hours of their working calendar minus time off. Overloaded weeks are flagged in the list.

Feature 7
Microsoft Project XML import with a preview
Upload a plan saved as XML in Microsoft Project: tasks, outline levels, dates, work, constraints, links with type and lag, and resources are shown first, then created in a new or an existing project.

Feature 8
Gantt PDF of a project
An A3 landscape gantt of the project with the critical path in red, the baseline bars and the slack of each task. The view itself also prints, and exports as a PNG image, an Excel file, MS Project XML and iCal.

Feature 9
Per-project scheduling settings and exports
Each project chooses auto-scheduling, working time and the compared baseline; the header gives the gantt, the scheduler, Save Baseline, the critical path list and the PDF, MS Project XML, Excel and iCal exports.

Feature 10
Manufacturing orders gantt
Manufacturing orders by product on a timeline; work orders by work center in the same way.

Feature 11
Time off gantt
All time off by employee, to see who is away before you plan the work.

Feature 12
Task stage duration
How long tasks stay in each stage, by project, stage and assignee, from the stage history the module records.

How it works, step by step
| 1 | Install The gantt view is added to tasks, manufacturing orders, work orders and time off when Project, Manufacturing and Time Off are installed. Existing dependencies become Finish to Start links. |
| 2 | Plan the tasks Give tasks a Planned Start and a Deadline, then add predecessors with their link type and lag in the Scheduling tab (or import a Microsoft Project XML file). |
| 3 | Turn on the scheduler In the project settings tick Auto-schedule Tasks, and Respect Working Time if durations should follow the working calendar. |
| 4 | Read the critical path Open the gantt: red bars and arrows are the critical path; hover a bar for its slack. The Critical Path button lists those tasks. |
| 5 | Save a baseline Click Save Baseline on the project. When the plan moves, the grey baseline bars and the variance show by how much. |
| 6 | Balance the team Open Project > Planning > Resource Load to see who is overloaded per week, then move or re-assign tasks on the gantt. |
| 7 | Share the plan Print the Gantt PDF, or export MS Project XML, Excel, iCal or a PNG of the timeline. |
Settings
Settings on projects, tasks, task stages and in General Settings, and the gantt view options for developers.
| Auto-schedule Tasks (project) | When a task's dates or links change, move the tasks that depend on it so every link and lag is kept. |
| Respect Working Time (project) | Durations and lags count working hours of the assignee or the project; weekends, company closing days and time off are skipped. |
| Compared Baseline (project) | The baseline drawn in the gantt and used for the task variance. |
| Scheduling (task) | Automatic or Manual: manual tasks are never moved by the scheduler. |
| Constraint (task) | As Soon As Possible, Start No Earlier Than, Finish No Later Than or Must Start On, with its date. |
| Auto-reschedule dependencies | General Settings switch for every other gantt (manufacturing, your own models). |
| Task stage duration | General Settings, per project, per stage and stage tracking templates, as before. |
| Gantt view for any model | <gantt date_start=... date_stop=... dependency_field=... critical_path="1" baseline_start=... baseline_stop=...> with colour, progress, actual line and decorations. |
Frequently asked questions
Will my gantt charts change after the update to 2.0?
No. Bars, rows and colours stay as they were. The new parts are buttons and menu items: days off, one row per task, the grid columns and the sort and colour choices are off until you pick them. The milestone and deadline flags are on, and one click in Options hides them.
Can I link tasks without opening the task form?
Yes. Drag from the dot at the start or end of a bar to another bar. The ends decide the link type. On manufacturing work orders and other models that only know one kind of dependency, the link is saved as Finish to Start and the chart tells you so.
What does undo cover?
The last 20 changes made in the chart you have open: moving or resizing a bar, dropping it on another row, planning an unscheduled record, and adding or removing a link. It writes the old values back with your own access rights.
Does Odoo Community have a gantt view?
No, the gantt view is part of Enterprise. This module adds a gantt view type to Odoo 19 Community.
How is the critical path computed?
On the server, from the current dates of the tasks of the project and all their links (with type and lag): a task is critical when it cannot slip without moving the end of the project. Negative slack means the plan already breaks a link.
Does auto-scheduling move tasks earlier?
Not by itself: when dates or links change it only pushes tasks that would break a link. The project scheduler has an "as soon as possible" mode that also pulls tasks earlier, shown in a preview first.
Which Microsoft Project files can I import?
Plans saved from Microsoft Project as "XML Format (*.xml)", up to 10 MB. Files with a DOCTYPE or ENTITY declaration are refused for security. Native .mpp files have to be saved as XML first.
Do users see tasks of projects they cannot open?
No. The gantt, the critical path, the exports, the PDF, the resource load and the baselines all read the data with the user's own access rights.
Can I use it on my own model?
Yes. Add a gantt view with a start and stop date field to any action; dependency arrows and the critical path work with any many2many to the same model.
Compatibility
Odoo 19 Community | Project tasks gantt | Manufacturing MO and work order gantt | Time Off leave gantt |
Plan on a timeline in Odoo Community
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, ready-made charts, email support |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Project (project) • Time Off (hr_holidays) • Inventory (stock) • Discuss (mail) • Calendar (calendar) • Employees (hr) |
| Lines of code | 7545 |
| Technical Name |
mdv_gantt_view |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/gantt-view/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.










Please log in to comment on this module