changeset 553b5956866e in modules/sale_promotion_coupon:default
details: 
https://hg.tryton.org/modules/sale_promotion_coupon?cmd=changeset;node=553b5956866e
description:
        Add expand on tree view

        and unify layout of form view.

        issue8644
        review262131002
diffstat:

 view/coupon_list.xml        |  4 ++--
 view/coupon_number_list.xml |  5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 219d26266e49 -r 553b5956866e view/coupon_list.xml
--- a/view/coupon_list.xml      Fri Aug 09 16:38:58 2019 +0200
+++ b/view/coupon_list.xml      Sat Sep 28 23:59:10 2019 +0200
@@ -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>
diff -r 219d26266e49 -r 553b5956866e view/coupon_number_list.xml
--- a/view/coupon_number_list.xml       Fri Aug 09 16:38:58 2019 +0200
+++ b/view/coupon_number_list.xml       Sat Sep 28 23:59:10 2019 +0200
@@ -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>

Reply via email to