Reviewers: ,
Please review this at http://codereview.tryton.org/210010/
Affected files:
M company.xml
Index: company.xml
===================================================================
--- a/company.xml
+++ b/company.xml
@@ -16,16 +16,6 @@
<form string="Company"/>
</xpath>
<xpath
- expr="/form/label[@name="code"]"
- position="replace">
- <label name="parent"/>
- </xpath>
- <xpath
- expr="/form/field[@name="code"]"
- position="replace">
- <field name="parent"/>
- </xpath>
- <xpath
expr="/form/group[@id="checkboxes"]"
position="after">
<label name="currency"/>
@@ -38,8 +28,10 @@
<xpath
expr="/form/notebook/page[@id="general"]"
position="after">
- <page string="Employees" col="1" id="employees">
- <field name="employees"/>
+ <page string="Company" col="2" id="company">
+ <label name="parent" />
+ <field name="parent" />
+ <field name="employees" colspan="2"/>
</page>
<page string="Reports" col="1" id="reports">
<separator name="header"/>
@@ -317,15 +309,9 @@
position="replace_attributes">
<form string="Employee"/>
</xpath>
- <xpath
- expr="/form/label[@name="code"]"
- position="replace">
- <label name="company"/>
- </xpath>
- <xpath
- expr="/form/field[@name="code"]"
- position="replace">
- <field name="company"/>
+ <xpath expr="/form/group/label[@name='active']"
position="before">
+ <label name="company" />
+ <field name="company" />
</xpath>
</data>
]]>
--
[email protected] mailing list