58 lines
2.5 KiB
XML
58 lines
2.5 KiB
XML
|
|
<odoo>
|
||
|
|
<record id="project_project_form_view_gantt" model="ir.ui.view">
|
||
|
|
<field name="name">project.project.form.gantt</field>
|
||
|
|
<field name="model">project.project</field>
|
||
|
|
<field name="inherit_id" ref="project.edit_project"/>
|
||
|
|
<field name="arch" type="xml">
|
||
|
|
<xpath expr="//page[@name='settings']" position="inside">
|
||
|
|
<group string="CK Gantt Settings">
|
||
|
|
<group>
|
||
|
|
<field name="gantt_enable_dynamic_text"/>
|
||
|
|
<field name="gantt_enable_dynamic_progress"/>
|
||
|
|
<field name="gantt_hide_holidays"/>
|
||
|
|
<field name="gantt_days_off"/>
|
||
|
|
</group>
|
||
|
|
<group>
|
||
|
|
<field name="gantt_mail_timesheet_user" widget="many2many_tags"/>
|
||
|
|
</group>
|
||
|
|
</group>
|
||
|
|
</xpath>
|
||
|
|
</field>
|
||
|
|
</record>
|
||
|
|
|
||
|
|
<record id="project_task_form_view_gantt" model="ir.ui.view">
|
||
|
|
<field name="name">project.task.form.gantt</field>
|
||
|
|
<field name="model">project.task</field>
|
||
|
|
<field name="inherit_id" ref="project.view_task_form2"/>
|
||
|
|
<field name="arch" type="xml">
|
||
|
|
<xpath expr="//page[@name='extra_info']" position="after">
|
||
|
|
<page string="Gantt Details" name="gantt_details">
|
||
|
|
<group>
|
||
|
|
<group>
|
||
|
|
<field name="gantt_start_date"/>
|
||
|
|
<field name="gantt_end_date"/>
|
||
|
|
<field name="is_milestone"/>
|
||
|
|
<field name="unschedule"/>
|
||
|
|
<field name="schedule_mode"/>
|
||
|
|
</group>
|
||
|
|
<group>
|
||
|
|
<field name="constraint_type"/>
|
||
|
|
<field name="constraint_date" invisible="constraint_type == 'asap'"/>
|
||
|
|
</group>
|
||
|
|
</group>
|
||
|
|
</page>
|
||
|
|
</xpath>
|
||
|
|
</field>
|
||
|
|
</record>
|
||
|
|
|
||
|
|
<record id="project_task_type_form_view_gantt" model="ir.ui.view">
|
||
|
|
<field name="name">project.task.type.form.gantt</field>
|
||
|
|
<field name="model">project.task.type</field>
|
||
|
|
<field name="inherit_id" ref="project.task_type_edit"/>
|
||
|
|
<field name="arch" type="xml">
|
||
|
|
<xpath expr="//field[@name='fold']" position="after">
|
||
|
|
<field name="gantt_stage_color" widget="radio"/>
|
||
|
|
</xpath>
|
||
|
|
</field>
|
||
|
|
</record>
|
||
|
|
</odoo>
|