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

        issue10989
        review374321002
diffstat:

 view/asset_tree.xml |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r abeeb43efb79 -r ab9eba78f98a view/asset_tree.xml
--- a/view/asset_tree.xml       Sun Jan 23 12:54:56 2022 +0100
+++ b/view/asset_tree.xml       Thu Feb 03 23:13:26 2022 +0100
@@ -2,11 +2,12 @@
 <!-- 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="company" expand="1" optional="1"/>
     <field name="number" expand="1"/>
-    <field name="product" expand="2"/>
-    <field name="start_date"/>
-    <field name="end_date"/>
-    <field name="value"/>
-    <field name="residual_value"/>
+    <field name="product" expand="2" optional="0"/>
+    <field name="start_date" optional="0"/>
+    <field name="end_date" optional="0"/>
+    <field name="value" optional="0"/>
+    <field name="residual_value" optional="0"/>
     <field name="state"/>
 </tree>

Reply via email to