Gantt View for Projects - Interactive Project Planning
by Steven Marp https://apps.odoo.com/apps/browse?repo_maintainer_id=512936$ 45.90
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Project (project)
• Discuss (mail) |
| Lines of code | 1738 |
| Technical Name |
sm_gantt_view |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Project (project)
• Discuss (mail) |
| Lines of code | 1738 |
| Technical Name |
sm_gantt_view |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
| Versions | 18.0 19.0 |
Gantt View for Projects
Interactive project planning with drag-and-drop scheduling, dependencies, zoom levels, exports, and smart task grouping
Video Demo
Key Features
1 Drag-and-Drop SchedulingMove tasks directly on the timeline and update their planned start date, duration, name, and progress from the Gantt interface. The module writes changes back to the task record. |
Plan tasks visually on a live timeline |
|
Finish-to-start, start-to-start, finish-to-finish, start-to-finish |
2 Task DependenciesCreate dependency links between project tasks from the chart. Dependencies are stored in Odoo with a unique relation per task pair and can also be managed from the task form. |
3 Flexible Timeline ZoomSwitch between hour, day, week, month, quarter, and year views. Use previous, next, today, and zoom-to-fit controls to move through schedules quickly. |
From hourly planning to yearly overview |
|
Tasks grouped by project with collapsible rows |
4 Project GroupingTasks are grouped under their projects for easier scanning. Project rows are visually separated and can be opened or collapsed in the Gantt tree. |
5 Productivity ToolbarSort by name, date, or progress. Toggle grid panel, critical path, tooltips, progress labels, bar text, weekend highlights, dependency links, and fullscreen mode from the toolbar. |
Persistent user preferences in the browser |
|
Export chart SVG or task CSV |
6 Export and ShareExport the visible Gantt chart as SVG or export task planning data as CSV with task name, start date, end date, duration, progress, and project. |
How It Works
|
1
Install ModuleInstall the module and update the project task actions. The Gantt view appears in the task view switcher. |
2
Plan TasksSet task start dates, deadlines, and progress from the task form or directly from the Gantt chart. |
3
Manage DependenciesDraw dependency links, open task forms by double-clicking, and use toolbar controls to analyze the schedule. |
Highlighted Features
Drag-and-drop scheduling · Project grouping · Dependency links · Hour/day/week/month/quarter/year zoom · Today marker · Critical path highlight · Sort controls · Weekend highlight · Tooltips · Progress labels · Fullscreen mode · Dark mode styles · SVG export · CSV export · Double-click task form opening · Odoo 18 backend view type integration
Gantt View for Projects - Odoo 18 User Guide
Table of Contents
1. Overview
The Gantt View for Projects module adds an interactive Gantt chart to Odoo Project tasks.
Use it to visualize schedules, drag tasks on the timeline, create dependency links, group tasks by project, inspect progress, and export planning data.
2. Installation
- Drop the sm_gantt_view folder in your Odoo addons path.
- Restart Odoo and update the apps list.
- Install Gantt View for Projects from the Apps menu.
The module depends on Odoo Project, Web, and Project Enterprise because it replaces enterprise project Gantt view entries with the custom sm_gantt view.
3. Usage
Opening the Gantt View
- Go to Project -> Tasks or open tasks from a specific project.
- Click the Gantt view icon in the view switcher.
- Tasks appear grouped by project.
Planning Tasks
- Set Start Date, Deadline, Duration, and Progress on the task form under the Gantt & Dependencies tab.
- Drag task bars in the Gantt chart to update the start date and duration.
- Double-click a task or project row to open its form.
Dependency Links
Draw links between task bars to create dependencies. The module supports these relation types:
- Finish to Start
- Start to Start
- Finish to Finish
- Start to Finish
Dependencies are stored in project.depending.tasks and protected by a unique task-pair constraint.
4. Toolbar
The Gantt toolbar provides:
- Previous, Today, and Next navigation
- Hour, Day, Week, Month, Quarter, and Year zoom levels
- Sorting by name, start date, and progress
- Grid panel toggle
- Critical path highlight
- Zoom to fit
- SVG export
- CSV export
- Fullscreen mode
Settings
The settings menu lets each user toggle:
- Tooltips
- Progress text on task bars
- Dynamic task text on bars
- Weekend highlights
- Dependency links
Settings are stored in browser local storage.
5. Exports
SVG Export
Export the current Gantt chart view as an SVG file.
6. Technical Notes
- Custom Odoo view type: sm_gantt
- Frontend library: dhtmlxGantt
- Task data model: project.task
- Dependency model: project.depending.tasks
- Date field: planned_date_begin
- Deadline field: date_deadline
- Computed duration field: planned_duration
- Link serialization field: links_serialized_json
7. Compatibility
- Tested on Odoo 18.0 Community & Enterprise.
- Requires Project and Project Enterprise.
- Uses Odoo web assets and standard ORM/RPC services.
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