Add expand on tree view

and unify layout of form view.

issue8644
review262131002
This commit is contained in:
Cédric Krier committed 2019-09-28 23:59:10 +02:00
1 parent 02675c08f6
commit ee5362b93f
2 files changed
+4 -5

No files matched your search

+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="promotion"/>
<field name="name"/>
<field name="promotion" expand="1"/>
<field name="name" expand="1"/>
<field name="number_of_use"/>
<field name="per_party"/>
</tree>
+2 -3
View File
@@ -2,7 +2,6 @@
<!-- 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="coupon"/>
<field name="number"/>
<field name="active" tree_invisible="1"/>
<field name="coupon" expand="1"/>
<field name="number" expand="1"/>
</tree>