changeset 0af98b7ec580 in modules/web_shop:default
details: https://hg.tryton.org/modules/web_shop?cmd=changeset&node=0af98b7ec580
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/shop_list.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (16 lines):
diff -r 970cc3df8660 -r 0af98b7ec580 view/shop_list.xml
--- a/view/shop_list.xml Sun Jan 23 12:54:57 2022 +0100
+++ b/view/shop_list.xml Thu Feb 03 23:13:27 2022 +0100
@@ -2,8 +2,8 @@
<!-- 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="name"/>
- <field name="currency"/>
- <field name="type"/>
- <field name="company"/>
+ <field name="company" expand="1" optional="1"/>
+ <field name="name" expand="2"/>
+ <field name="currency" optional="1"/>
+ <field name="type" optional="0"/>
</tree>