[ADD] Gantt View added in Task view (project.task object)

This commit is contained in:
Siddharth Bhalgami 2017-12-01 15:44:28 +05:30
parent 223e481cbf
commit 2304545a3b
2 changed files with 10 additions and 2 deletions

View File

@ -278,7 +278,7 @@
<field name="project_id" ref="project.project_project_3"/>
<field name="name">User Interface design</field>
<field name="stage_id" ref="project_stage_2"/>
<field name="date_start">2011-02-06</field>
<field name="date_start">2016-08-25</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_03')])]"/>
</record>

View File

@ -627,6 +627,14 @@
</field>
</record>
<record id="view_project_task_gantt" model="ir.ui.view">
<field name="name">project.task.gantt</field>
<field name="model">project.task</field>
<field name="arch" type="xml">
<gantt date_start="date_start" date_stop="date_end" string="Tasks"/>
</field>
</record>
<record id="analytic_account_inherited_form" model="ir.ui.view">
<field name="name">account.analytic.account.form.inherit</field>
<field name="model">account.analytic.account</field>
@ -645,7 +653,7 @@
<record id="action_view_task" model="ir.actions.act_window">
<field name="name">Tasks</field>
<field name="res_model">project.task</field>
<field name="view_mode">kanban,tree,form,calendar,pivot,graph</field>
<field name="view_mode">kanban,tree,form,calendar,pivot,graph,gantt</field>
<field name="context">{'search_default_my_tasks': 1}</field>
<field name="search_view_id" ref="view_task_search_form"/>
<field name="help" type="html">