changeset 23a0ba5cee10 in modules/product_price_list:default
details: 
https://hg.tryton.org/modules/product_price_list?cmd=changeset&node=23a0ba5cee10
description:
        Add optional column on tree view

        issue10989
        review374321002
diffstat:

 view/price_list_line_tree.xml          |  4 ++--
 view/price_list_line_tree_sequence.xml |  3 ++-
 view/price_list_tree.xml               |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r e6d4b69c7cc4 -r 23a0ba5cee10 view/price_list_line_tree.xml
--- a/view/price_list_line_tree.xml     Sat Dec 18 16:31:09 2021 +0100
+++ b/view/price_list_line_tree.xml     Thu Feb 03 23:13:26 2022 +0100
@@ -3,9 +3,9 @@
 this repository contains the full copyright notices and license terms. -->
 <tree>
     <field name="price_list" expand="1"/>
-    <field name="sequence"/>
+    <field name="sequence" optional="1"/>
     <field name="category" expand="1"/>
     <field name="product" expand="1"/>
     <field name="quantity"/>
-    <field name="formula" expand="1"/>
+    <field name="formula" expand="1" optional="0"/>
 </tree>
diff -r e6d4b69c7cc4 -r 23a0ba5cee10 view/price_list_line_tree_sequence.xml
--- a/view/price_list_line_tree_sequence.xml    Sat Dec 18 16:31:09 2021 +0100
+++ b/view/price_list_line_tree_sequence.xml    Thu Feb 03 23:13:26 2022 +0100
@@ -2,8 +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 sequence="sequence">
+    <field name="price_list" expand="1"/>
     <field name="category" expand="1"/>
     <field name="product" expand="1"/>
     <field name="quantity"/>
-    <field name="formula" expand="1"/>
+    <field name="formula" expand="1" optional="0"/>
 </tree>
diff -r e6d4b69c7cc4 -r 23a0ba5cee10 view/price_list_tree.xml
--- a/view/price_list_tree.xml  Sat Dec 18 16:31:09 2021 +0100
+++ b/view/price_list_tree.xml  Thu Feb 03 23:13:26 2022 +0100
@@ -3,6 +3,6 @@
 this repository contains the full copyright notices and license terms. -->
 <tree>
     <field name="name" expand="1"/>
-    <field name="tax_included"/>
-    <field name="unit"/>
+    <field name="tax_included" optional="1"/>
+    <field name="unit" optional="1"/>
 </tree>

Reply via email to