[FIX] project: don't use planned_hours in project gantt

The gantt view does not have enough data to properly display a project's length
based on only the planned hours.
It also makes it impossible to change the project's length using drag & drop.
It's safer to simply display the start and end dates recorded in the project
Fixes #2632
This commit is contained in:
Lionel Sausin (Numérigraphe) 2014-09-23 10:53:11 +02:00 committed by Martin Trigaux
parent 822466e352
commit 10984ad49a
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@
<field name="name">project.project.gantt</field>
<field name="model">project.project</field>
<field name="arch" type="xml">
<gantt date_delay="planned_hours" date_start="date_start" string="Projects">
<gantt date_start="date_start" date_stop="date" string="Projects">
</gantt>
</field>
</record>