mirror of
https://github.com/NaN-tic/trytond-project_template.git
synced 2023-12-14 02:02:58 +01:00
55 lines
2 KiB
XML
55 lines
2 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. -->
|
||
|
<form string="Works Efforts" col="6">
|
||
|
<label name="work"/>
|
||
|
<field name="work" colspan="3"/>
|
||
|
<label name="active"/>
|
||
|
<field name="active" xexpand="0"/>
|
||
|
<label name="type"/>
|
||
|
<field name="type"/>
|
||
|
<label name="parent"/>
|
||
|
<field name="parent"/>
|
||
|
<label name="sequence"/>
|
||
|
<field name="sequence"/>
|
||
|
<label name="company"/>
|
||
|
<field name="company"/>
|
||
|
<label name="party"/>
|
||
|
<field name="party"/>
|
||
|
<label name="party_address"/>
|
||
|
<field name="party_address"/>
|
||
|
<label name="template"/>
|
||
|
<field name="template"/>
|
||
|
<label name="percentage"/>
|
||
|
<field name="percentage"/>
|
||
|
<notebook colspan="8">
|
||
|
<page string="General" id="general" col="6">
|
||
|
<label name="timesheet_available"/>
|
||
|
<field name="timesheet_available"/>
|
||
|
<newline/>
|
||
|
<label name="effort"/>
|
||
|
<field name="effort" widget="float_time" float_time="company_work_time"/>
|
||
|
<newline/>
|
||
|
<label name="hours"/>
|
||
|
<field name="hours" widget="float_time" float_time="company_work_time"/>
|
||
|
<label name="total_effort"/>
|
||
|
<field name="total_effort" widget="float_time" float_time="company_work_time"/>
|
||
|
<newline/>
|
||
|
<separator name="comment" colspan="6"/>
|
||
|
<field name="comment" colspan="6"/>
|
||
|
<group col="4" colspan="6" id="state_buttons">
|
||
|
<group col="2" colspan="2" id="state">
|
||
|
<label name="state"/>
|
||
|
<field name="state"/>
|
||
|
</group>
|
||
|
<group col="20" colspan="2" id="buttons">
|
||
|
</group>
|
||
|
</group>
|
||
|
</page>
|
||
|
<page string="Children" id="children"
|
||
|
states="{'invisible': Not(Equal(Eval('type'), 'project'))}">
|
||
|
<field name="children" colspan="4"/>
|
||
|
</page>
|
||
|
</notebook>
|
||
|
</form>
|