changeset 249da5349c82 in modules/purchase_requisition:default
details:
https://hg.tryton.org/modules/purchase_requisition?cmd=changeset&node=249da5349c82
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/purchase_requisition_line_list.xml | 6 +++---
view/purchase_requisition_line_list_sequence.xml | 6 +++---
view/purchase_requisition_tree.xml | 9 +++++----
3 files changed, 11 insertions(+), 10 deletions(-)
diffs (51 lines):
diff -r 21dd67e76f62 -r 249da5349c82 view/purchase_requisition_line_list.xml
--- a/view/purchase_requisition_line_list.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/purchase_requisition_line_list.xml Thu Feb 03 23:13:27 2022 +0100
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="requisition" expand="1"/>
- <field name="product" expand="1"/>
- <field name="summary" expand="1"/>
- <field name="supplier" expand="1"/>
+ <field name="product" expand="1" optional="0"/>
+ <field name="summary" expand="1" optional="1"/>
+ <field name="supplier" expand="1" optional="1"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
<field name="amount"/>
diff -r 21dd67e76f62 -r 249da5349c82
view/purchase_requisition_line_list_sequence.xml
--- a/view/purchase_requisition_line_list_sequence.xml Sat Dec 18 16:31:10
2021 +0100
+++ b/view/purchase_requisition_line_list_sequence.xml Thu Feb 03 23:13:27
2022 +0100
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree sequence="sequence">
<field name="requisition" expand="1"/>
- <field name="product" expand="1"/>
- <field name="summary" expand="1"/>
- <field name="supplier" expand="1"/>
+ <field name="product" expand="1" optional="0"/>
+ <field name="summary" expand="1" optional="1"/>
+ <field name="supplier" expand="1" optional="1"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
<field name="amount"/>
diff -r 21dd67e76f62 -r 249da5349c82 view/purchase_requisition_tree.xml
--- a/view/purchase_requisition_tree.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/purchase_requisition_tree.xml Thu Feb 03 23:13:27 2022 +0100
@@ -2,10 +2,11 @@
<!-- 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="company" expand="1" optional="1"/>
<field name="number" expand="1"/>
- <field name="supply_date"/>
- <field name="employee" expand="2"/>
- <field name="warehouse" expand="1"/>
- <field name="total_amount"/>
+ <field name="supply_date" optional="0"/>
+ <field name="employee" expand="2" optional="0"/>
+ <field name="warehouse" expand="1" optional="1"/>
+ <field name="total_amount" optional="0"/>
<field name="state"/>
</tree>