Odoo Help


How can you scale the Gantt view?

AJ Schrafel Paper Corp
on 11/22/13, 12:25 AM 3,337 views

In the documentation there is a mode tag that can be added to a gantt view. This tag allows you to scale the time duration of the gantt view. But it doesn't seem to do anything in reality.


<gantt date_stop="date_finished" date_start="date_start" string="Productions" default_group_by="routing_id" mode ="month">

This code isn't rejected as an XML error, but it doesn't seem to scale the gantt view.

How can you change the scale of a gantt view?

Do not works for me too : OpenERP 7

Pierre-Alain Dorange
on 11/27/13, 5:11 AM



| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 3/7/14, 4:58 AM

The below code is working in openerp 7

<record id="view_project_gantt" model="ir.ui.view">
    <field name="name">Project Gantt</field>
    <field name="model">project.test</field>
    <field name="type">calendar</field>
    <field name="arch" type="xml">
    <gantt date_stop="date_finished" date_start="date_start" string="Productions" default_group_by="routing_id" mode ="month">


    <record id="action_project_test" model="ir.actions.act_window">
            <field name="name">Project Test</field>
            <field name="res_model">project.test</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form,gantt</field>     

no it does not, the scale does not change. Try changing mode to day or 3weeks.

AJ Schrafel Paper Corp
on 3/7/14, 11:12 AM
On 3/7/14, 3:10 AM
  1. List item
  2. List item
  3. List item
  4. List item

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/22/13, 12:25 AM
Seen: 3337 times
Last updated: 3/16/15, 8:10 AM