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

        issue10989
        review374321002
diffstat:

 view/carrier_selection_list.xml |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r c208533b23ce -r c788ebcaebaa view/carrier_selection_list.xml
--- a/view/carrier_selection_list.xml   Sat Dec 18 16:31:07 2021 +0100
+++ b/view/carrier_selection_list.xml   Thu Feb 03 23:13:26 2022 +0100
@@ -3,11 +3,11 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='from_country']" position="after">
-        <field name="from_subdivision"/>
-        <field name="from_postal_code"/>
+        <field name="from_subdivision" optional="1"/>
+        <field name="from_postal_code" optional="1"/>
     </xpath>
     <xpath expr="/tree/field[@name='to_country']" position="after">
-        <field name="to_subdivision"/>
-        <field name="to_postal_code"/>
+        <field name="to_subdivision" optional="1"/>
+        <field name="to_postal_code" optional="1"/>
     </xpath>
 </data>

Reply via email to