changeset d2f7be312dfd in modules/account_invoice_line_standalone:default
details:
https://hg.tryton.org/modules/account_invoice_line_standalone?cmd=changeset&node=d2f7be312dfd
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/invoice_line_tree.xml | 7 +------
view/invoice_line_tree_sequence.xml | 2 +-
2 files changed, 2 insertions(+), 7 deletions(-)
diffs (29 lines):
diff -r 7f211c652411 -r d2f7be312dfd view/invoice_line_tree.xml
--- a/view/invoice_line_tree.xml Sat Dec 18 16:29:39 2021 +0100
+++ b/view/invoice_line_tree.xml Thu Feb 03 23:13:26 2022 +0100
@@ -5,13 +5,8 @@
<xpath
expr="/tree/field[@name='invoice']"
position="before">
+ <field name="company" expand="1" optional="1"/>
<field name="party" expand="1"/>
<field name="invoice_type"/>
</xpath>
- <xpath
- expr="/tree/field[@name='amount']"
- position="after">
- <field name="currency"/>
- <field name="company" expand="1"/>
- </xpath>
</data>
diff -r 7f211c652411 -r d2f7be312dfd view/invoice_line_tree_sequence.xml
--- a/view/invoice_line_tree_sequence.xml Sat Dec 18 16:29:39 2021 +0100
+++ b/view/invoice_line_tree_sequence.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='invoice']" position="before">
- <field name="origin" expand="1"/>
+ <field name="origin" expand="1" optional="1"/>
</xpath>
</data>