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

        issue10989
        review374321002
diffstat:

 view/incoterm_list.xml |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 1c0f294832cb -r ffa6ca7e05a0 view/incoterm_list.xml
--- a/view/incoterm_list.xml    Sat Dec 18 16:31:08 2021 +0100
+++ b/view/incoterm_list.xml    Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +2,11 @@
 <!-- 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="code"/>
     <field name="name" expand="2"/>
-    <field name="code" expand="1"/>
-    <field name="version"/>
+    <field name="version" optional="0"/>
+    <field name="mode" optional="1"/>
+    <field name="carrier" optional="1"/>
+    <field name="risk" optional="1"/>
+    <field name="location" optional="1"/>
 </tree>

Reply via email to