changeset da53cf2e9cb4 in modules/purchase_secondary_unit:default
details:
https://hg.tryton.org/modules/purchase_secondary_unit?cmd=changeset&node=da53cf2e9cb4
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/purchase_line_tree.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 096a6f5c7f89 -r da53cf2e9cb4 view/purchase_line_tree.xml
--- a/view/purchase_line_tree.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/purchase_line_tree.xml Thu Feb 03 23:13:27 2022 +0100
@@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='unit_price']" position="after">
- <field name="secondary_quantity" symbol="secondary_unit"/>
- <field name="secondary_unit_price"/>
+ <field name="secondary_quantity" symbol="secondary_unit" optional="1"/>
+ <field name="secondary_unit_price" optional="1"/>
</xpath>
</data>