Add expand on tree view

and unify layout of form view.

issue8644
review262131002
This commit is contained in:
Cédric Krier
2019-09-28 23:59:09 +02:00
parent bd708e112b
commit 23c1189da9
5 changed files with 18 additions and 20 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="bom"/>
<field name="product"/>
<field name="bom" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="uom"/>
</tree>
+1 -1
View File
@@ -2,5 +2,5 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="name" expand="1"/>
</tree>
+2 -2
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="bom"/>
<field name="product"/>
<field name="bom" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="uom"/>
</tree>
+10 -12
View File
@@ -39,17 +39,15 @@ this repository contains the full copyright notices and license terms. -->
<field name="cost"/>
</page>
</notebook>
<group col="4" colspan="4" id="state_buttons">
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="2" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="draft"/>
<button name="reset_bom" icon="tryton-clear"/>
<button name="wait"/>
<button name="assign_wizard" icon="tryton-forward"/>
<button name="run" icon="tryton-forward"/>
<button name="done" icon="tryton-forward"/>
</group>
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="2" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="draft"/>
<button name="reset_bom" icon="tryton-clear"/>
<button name="wait"/>
<button name="assign_wizard" icon="tryton-forward"/>
<button name="run" icon="tryton-forward"/>
<button name="done" icon="tryton-forward"/>
</group>
</form>
+3 -3
View File
@@ -2,9 +2,9 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="number"/>
<field name="reference"/>
<field name="product"/>
<field name="number" expand="1"/>
<field name="reference" expand="1"/>
<field name="product" expand="2"/>
<field name="quantity"/>
<field name="uom"/>
<field name="planned_start_date"/>