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

        issue10989
        review374321002
diffstat:

 view/carrier_tree.xml            |  4 ++--
 view/selection_list.xml          |  2 +-
 view/selection_list_sequence.xml |  2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 67ebbe6d2dd8 -r eb2d42d4a81f view/carrier_tree.xml
--- a/view/carrier_tree.xml     Sat Dec 18 16:31:07 2021 +0100
+++ b/view/carrier_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="party" expand="1"/>
-    <field name="carrier_product" expand="1"/>
-    <field name="carrier_cost_method"/>
+    <field name="carrier_product" expand="1" optional="0"/>
+    <field name="carrier_cost_method" optional="1"/>
 </tree>
diff -r 67ebbe6d2dd8 -r eb2d42d4a81f view/selection_list.xml
--- a/view/selection_list.xml   Sat Dec 18 16:31:07 2021 +0100
+++ b/view/selection_list.xml   Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +2,7 @@
 <!-- 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="from_country" expand="1"/>
+    <field name="from_country" expand="1" optional="0"/>
     <field name="to_country" expand="1"/>
     <field name="carrier" expand="2"/>
 </tree>
diff -r 67ebbe6d2dd8 -r eb2d42d4a81f view/selection_list_sequence.xml
--- a/view/selection_list_sequence.xml  Sat Dec 18 16:31:07 2021 +0100
+++ b/view/selection_list_sequence.xml  Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +2,7 @@
 <!-- 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 editable="1" sequence="sequence">
-    <field name="from_country" expand="1"/>
+    <field name="from_country" expand="1" optional="0"/>
     <field name="to_country" expand="1"/>
     <field name="carrier" expand="2"/>
 </tree>

Reply via email to