| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 12829 |
| Technical Name |
zt_gantt_app_base |
| License | OPL-1 |
| Website | https://www.zehntech.com/ |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 12829 |
| Technical Name |
zt_gantt_app_base |
| License | OPL-1 |
| Website | https://www.zehntech.com/ |
| Versions | 16.0 17.0 18.0 19.0 |



Odoo Gantt App Base
The Odoo Gantt App Base is a powerful tool integrated within the Odoo environment that facilitates efficient project management through visual representation. With its intuitive interface and comprehensive features, users can easily create, edit, and visualize project timelines in a Gantt chart format. Whether you're tracking tasks, managing resources, or monitoring project progress, the Gantt Odoo App streamlines the process, providing users with a clear overview of their projects and timelines.

Key Features
Access Gantt View
Utilize Full Screen Mode
View Options
Expand/Collapse Records
Editing and Deleting Entries
Grouping, Filtering, and Favorites
Creating New Entries
Updating Entries



Key Features


About Zehntech
Zehntech is a leading Odoo custom development company, empowering businesses across industries with tailored ERP solutions. With a strong team of 50+ skilled Odoo professionals, ranging from 2 to over 10+ years of experience, we bring deep expertise and innovation to every project. Over the years, we have successfully developed 50+ Odoo apps and themes, helping clients streamline operations, enhance productivity, and achieve digital transformation. Our Odoo services include Custom Odoo Development, Implementation, Customization, Support and maintenance.
115+
Happy Customer
120+
Expert Professionals
30%
Time Saved
12+
Countries We Serve
FAQs
Get quick answers about managing timelines with the Gantt Chart.

Our Services
Odoo Customization
Odoo Migration Services
Odoo Implementation
Odoo Support & Maintenance
Odoo Website Development
Odoo Theme Development
Odoo Mobile App Development

Contact Us
Zehntech Technologies
https://www.zehntech.com/contact-us/ZT Gantt App Base for Odoo 19
A professional, feature-rich Gantt chart view for Odoo 19 — visualise project timelines, track task progress, and manage resources directly inside the Odoo backend with zero external SaaS dependencies.
Key Features
Core Gantt Engine
- Native Odoo view type — ztgantt view works alongside list, kanban, and form views via standard view_mode configuration.
- Configurable field mapping — bind any model's date, name, progress, assignee, and customer fields through declarative XML attributes; no Python changes required for most integrations.
- Parent / child task hierarchy — display parent records with nested child tasks in a collapsible tree layout.
- Drag-to-create tasks — draw a new task bar directly on the timeline to open a pre-filled creation form.
- Drag-to-reschedule — reposition or resize existing task bars; dates are written back to the database automatically.
- Inline editing — double-click any bar to open the record form dialog without leaving the Gantt view.
- Zoom levels — hour, day, week, month, and year scales with a single click; week numbers are translated automatically.
- Today marker & current-time line — always know where "now" sits on the timeline.
- Full-screen mode — expand the chart to the full browser viewport.
- Group-by support — group records by any field (many2one, selection, date granularity, etc.) with nested multi-level grouping.
- Tooltip on hover — shows assignee, customer, and date range at a glance.
GA-01 — Weekend & Holiday Shading
- Automatically fetches the company's working calendar (resource.calendar) once per browser session.
- Weekend columns are shaded with a subtle diagonal-stripe pattern.
- Public holiday columns receive a slightly darker solid shade.
- CSS variables (--gantt-weekend-opacity, --gantt-holiday-opacity) allow theme overrides without editing module files.
- Graceful fallback to Mon–Fri / no holidays if the RPC call times out twice.
GA-02 — Visual Polish
Multi-color task bars — 7-color palette cycled by project_id % 7. Colors are applied via post-render DOM manipulation so they work reliably regardless of how the zt-gantt library handles template callbacks.
Index Color 0 #10b981 (green) 1 #f59e0b (amber) 2 #8b5cf6 (violet) 3 #ec4899 (pink) 4 #3b82f6 (blue) 5 #eab308 (yellow) 6 #14b8a6 (teal) Rounded task bar corners — border-radius: 4px for a modern look.
Inline progress text — percentage and task name rendered inside bars wider than 80 px, with a text shadow for readability on all palette colours.
Progress fill tinting — darker shade of the bar colour for the zt-gantt-task-progress fill element.
Installation
Requirements
- Odoo 19.0 (Community or Enterprise)
- The web and resource Odoo addons (both are standard; no extra dependencies)
Steps
Copy (or clone) the zehntech_gantt_app_base_v19 directory into your Odoo custom addons path, e.g.:
/opt/odoo/custom-addons/zehntech_gantt_app_base_v19/
Restart the Odoo server:
sudo systemctl restart odoo
Activate developer mode in Odoo (Settings → Activate the developer mode).
Open Apps, click Update Apps List, search for "Odoo Gantt App Base", and click Install.
After installation the ztgantt view type is available for any model. A demo project/task view is automatically registered under ZT Gantt Demo in the apps menu when demo data is enabled.
Configuration
Adding a Gantt View to Your Own Model
Create an ir.ui.view record of type ztgantt in your module's XML:
<record id="my_model_gantt_view" model="ir.ui.view">
<field name="name">my.model.ztgantt</field>
<field name="model">my.model</field>
<field name="arch" type="xml">
<ztgantt
start_date="date_start"
end_date="date_end"
name="name"
child_ids="task_ids"
child_start_date="date_start"
child_end_date="date_end"
child_name="name"
parent_id="project_id"
allocated_hours="planned_hours"
child_allocated_hours="planned_hours"
child_progress="progress"
assignee="user_id"
customer="partner_id"
child_assignee="user_ids"
child_customer="partner_id"
/>
</field>
</record>
Then add ztgantt to the view_mode of your action:
<record id="action_my_model" model="ir.actions.act_window">
<field name="name">My Projects</field>
<field name="res_model">my.model</field>
<field name="view_mode">list,kanban,ztgantt</field>
</record>
Available View Attributes
| Attribute | Description | Required |
|---|---|---|
| start_date | Parent record start date field | Yes |
| end_date | Parent record end date field | Yes |
| name | Parent record display name field | Yes |
| child_ids | One2many field to child records | No |
| child_start_date | Child start date field | No |
| child_end_date | Child end date field | No |
| child_name | Child display name field | No |
| parent_id | Child → parent Many2one field | No |
| allocated_hours | Parent estimated hours field | No |
| child_allocated_hours | Child estimated hours field | No |
| child_progress | Child progress (0–100) field | No |
| assignee | Parent assignee Many2one field | No |
| child_assignee | Child assignee field | No |
| customer | Parent customer Many2one field | No |
| child_customer | Child customer field | No |
Customising Colors via CSS Variables
Override in your own module's CSS (no need to edit this module):
:root {
--gantt-weekend-opacity: 0.05; /* default 0.08 */
--gantt-holiday-opacity: 0.08; /* default 0.12 */
}
Dependencies
- web — Odoo standard web framework (always present)
- resource — provides resource.calendar used for working-day/holiday shading (always present in Odoo 16+)
No third-party Python packages or external JavaScript CDNs are required. The zt-gantt rendering library is bundled under static/src/lib/gantt/.
Demo Data
When Odoo is started with demo data enabled (the default for new databases created via the setup wizard), the module loads data/demo_data.xml which creates:
- 6 demo projects — Website Redesign, Mobile App, API Integration, Marketing Campaign, Infrastructure Upgrade, Customer Portal
- 30 demo tasks — 5 per project, spread across March–May 2026, with a mix of durations (2–15 days) and progress values (0 %, 25 %, 50 %, 75 %, 100 %) so all seven bar-colour classes are visible immediately after installation.
Version History
19.0.1.1.0 — 2026-03-16
- GA-02 fix — Multi-color task bars now apply correctly via post-render DOM manipulation; the task_class template callback was unreliable because the zt-gantt library does not forward custom task fields to it.
- GA-02e — Added rich demo data (30 tasks across 6 projects).
- GA-03 — Professional README (this file).
- Added custom.model and custom.model.task Python models that back the bundled example Gantt view.
19.0.1.0.1 — 2025-12-01
- GA-02 — Visual polish: multi-color bars, rounded corners, diagonal weekend stripe, inline progress text.
- GA-01 — Weekend & public-holiday column shading driven by resource.calendar.
- Initial Odoo 19 release.
1.0.0 — 2025-04-12
- Initial release — Odoo Gantt App Base.
Author & Support
| Author: | Zehntech Technologies Inc. |
|---|---|
| Website: | https://www.zehntech.com/erp-crm/odoo-apps-and-themes/odoo-gantt-app-base/ |
| Email: | odoo-support@zehntech.com |
| Live Demo: | https://zehntechodoo.com/app_name=zt_gantt_app_base/app_version=19.0 |
For bug reports and feature requests please open an issue on the project repository or contact the support address above.
License
This module is published under the OPL-1 (Odoo Proprietary License v1).
See https://www.odoo.com/documentation/17.0/legal/licenses.html for the full license text.
Copyright © 2025–2026 Zehntech Technologies Inc. All rights reserved.
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