changeset 6862ec5208cc in modules/account_product:default
details:
https://hg.tryton.org/modules/account_product?cmd=changeset&node=6862ec5208cc
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/analytic_account_rule_list.xml | 4 ++--
view/template_tree.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r ea23560f4ca3 -r 6862ec5208cc view/analytic_account_rule_list.xml
--- a/view/analytic_account_rule_list.xml Sat Dec 18 16:29:39 2021 +0100
+++ b/view/analytic_account_rule_list.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='journal']" position="after">
- <field name="product" expand="1"/>
- <field name="product_category" expand="1"/>
+ <field name="product" expand="1" optional="0"/>
+ <field name="product_category" expand="1" optional="0"/>
</xpath>
</data>
diff -r ea23560f4ca3 -r 6862ec5208cc view/template_tree.xml
--- a/view/template_tree.xml Sat Dec 18 16:29:39 2021 +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="/tree/field[@name='type']" position="after">
- <field name="account_category" expand="1"/>
+ <field name="account_category" expand="1" optional="1"/>
</xpath>
</data>