Improve work view:

- put allocations in a tab
- move constraint dates on top of other dates
This commit is contained in:
Bertrand Chenal committed 2009-06-30 14:45:57 +02:00
1 parent 359d526196
commit 7fe9acd231
1 file changed
+28 -27
+28 -27
View File
@@ -12,33 +12,34 @@ this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook/page[@id=&quot;timesheet_lines&quot;]"
position="after">
<page string="Plan" id="plan" col="3">
<group colspan="3" col="4" id="dates">
<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="constraint_start_date"/>
<field name="constraint_start_date"/>
<label name="constraint_finish_date"/>
<field name="constraint_finish_date"/>
<label name="duration"/>
<field name="duration" widget="float_time" float_time="company_work_time"/>
</group>
<separator name="predecessors"/>
<separator name="successors"/>
<separator name="allocations"/>
<field name="predecessors"/>
<field name="successors"/>
<field name="allocations"/>
<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': '''type != 'task' '''}" >
<separator name="allocations" colspan="4"/>
<field name="allocations" colspan="4"/>
</page>
<page string="Requests" id="requests">
<field name="requests"/>