changeset 76c53ae7fd5e in modules/stock_lot:default
details: https://hg.tryton.org/modules/stock_lot?cmd=changeset;node=76c53ae7fd5e
description:
        Add expand on tree view

        and unify layout of form view.

        issue8644
        review262131002
diffstat:

 view/inventory_line_tree.xml |  2 +-
 view/lot_tree.xml            |  4 ++--
 view/move_tree.xml           |  2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 8c79b0263dfa -r 76c53ae7fd5e view/inventory_line_tree.xml
--- a/view/inventory_line_tree.xml      Fri Sep 20 11:32:02 2019 +0200
+++ b/view/inventory_line_tree.xml      Sat Sep 28 23:59:10 2019 +0200
@@ -3,6 +3,6 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='product']" position="after">
-        <field name="lot"/>
+        <field name="lot" expand="1"/>
     </xpath>
 </data>
diff -r 8c79b0263dfa -r 76c53ae7fd5e view/lot_tree.xml
--- a/view/lot_tree.xml Fri Sep 20 11:32:02 2019 +0200
+++ b/view/lot_tree.xml Sat Sep 28 23:59:10 2019 +0200
@@ -2,6 +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="number"/>
-    <field name="product"/>
+    <field name="number" expand="1"/>
+    <field name="product" expand="1"/>
 </tree>
diff -r 8c79b0263dfa -r 76c53ae7fd5e view/move_tree.xml
--- a/view/move_tree.xml        Fri Sep 20 11:32:02 2019 +0200
+++ b/view/move_tree.xml        Sat Sep 28 23:59:10 2019 +0200
@@ -3,6 +3,6 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='product']" position="after">
-        <field name="lot"/>
+        <field name="lot" expand="1"/>
     </xpath>
 </data>

Reply via email to