Files
tryton/work.xml
T
2010-01-20 11:02:49 +01:00

72 lines
3.4 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="work_view_form">
<field name="model">project.work</field>
<field name="inherit" ref="project.work_view_form"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/form/notebook/page[@id=&quot;timesheet_lines&quot;]"
position="after">
<page string="Plan" id="plan">
<label name="constraint_start_date"/>
<field name="constraint_start_date"/>
<label name="constraint_finish_date"/>
<field name="constraint_finish_date"/>
<label name="early_start_date"/>
<field name="early_start_date"/>
<label name="early_finish_date"/>
<field name="early_finish_date"/>
<label name="late_start_date"/>
<field name="late_start_date"/>
<label name="late_finish_date"/>
<field name="late_finish_date"/>
<label name="actual_start_date"/>
<field name="actual_start_date"/>
<label name="actual_finish_date"/>
<field name="actual_finish_date"/>
<label name="duration"/>
<field name="duration" widget="float_time" float_time="company_work_time"/>
<newline/>
<separator name="predecessors" colspan="2"/>
<separator name="successors" colspan="2"/>
<field name="predecessors" colspan="2"/>
<field name="successors" colspan="2"/>
</page>
<page string="Allocations" id="allocations"
states="{'invisible': Not(Equal(Eval('type'), 'task'))}" >
<separator name="allocations" colspan="4"/>
<field name="allocations" colspan="4"/>
</page>
<page string="Requests" id="requests">
<field name="requests"/>
</page>
</xpath>
</data>
]]>
</field>
</record>
<record model="ir.action.wizard" id="wizard_leveling">
<field name="name">Tasks Leveling</field>
<field name="wiz_name">project_plan.work.leveling</field>
<field name="model">project.work</field>
</record>
<record model="ir.action.keyword" id="leveling_keyword">
<field name="keyword">form_action</field>
<field name="model">project.work,0</field>
<field name="action" ref="wizard_leveling"/>
</record>
<record model="res.request.link" id="request_link_work">
<field name="name">Work</field>
<field name="model">project.work</field>
</record>
</data>
</tryton>