changeset f339a35f7e9b in modules/product_attribute:default
details:
https://hg.tryton.org/modules/product_attribute?cmd=changeset&node=f339a35f7e9b
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/product_tree.xml | 2 +-
view/template_tree.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r a3b5b01d866f -r f339a35f7e9b view/product_tree.xml
--- a/view/product_tree.xml Sun Jan 30 20:17:47 2022 +0100
+++ b/view/product_tree.xml Thu Feb 03 23:13:26 2022 +0100
@@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='name']" position="after">
- <field name="attributes_name" expand="1"/>
+ <field name="attributes_name" expand="1" optional="1"/>
</xpath>
<xpath expr="//field[@name='attribute_set']" position="after">
<field name="attributes" tree_invisible="1"/>
diff -r a3b5b01d866f -r f339a35f7e9b view/template_tree.xml
--- a/view/template_tree.xml Sun Jan 30 20:17:47 2022 +0100
+++ b/view/template_tree.xml Thu Feb 03 23:13:26 2022 +0100
@@ -3,6 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='type']" position="after">
- <field name="attribute_set"/>
+ <field name="attribute_set" optional="1"/>
</xpath>
</data>