changeset 0687f609a48c in modules/purchase_request_quotation:default
details:
https://hg.tryton.org/modules/purchase_request_quotation?cmd=changeset&node=0687f609a48c
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/purchase_request_quotation_line_list.xml | 6 +++---
view/purchase_request_quotation_line_list_request.xml | 4 ++--
view/purchase_request_quotation_list.xml | 1 +
3 files changed, 6 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 8183563ea789 -r 0687f609a48c
view/purchase_request_quotation_line_list.xml
--- a/view/purchase_request_quotation_line_list.xml Tue Jan 25 10:01:02
2022 +0100
+++ b/view/purchase_request_quotation_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="request" expand="1"/>
- <field name="supply_date"/>
- <field name="product" expand="1"/>
- <field name="description" expand="1"/>
+ <field name="supply_date" optional="0"/>
+ <field name="product" expand="1" optional="0"/>
+ <field name="description" expand="1" optional="1"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
</tree>
diff -r 8183563ea789 -r 0687f609a48c
view/purchase_request_quotation_line_list_request.xml
--- a/view/purchase_request_quotation_line_list_request.xml Tue Jan 25
10:01:02 2022 +0100
+++ b/view/purchase_request_quotation_line_list_request.xml Thu Feb 03
23:13:27 2022 +0100
@@ -3,8 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree sequence="sequence">
<field name="quotation" expand="1"/>
- <field name="supply_date"/>
- <field name="supplier" expand="1"/>
+ <field name="supply_date" optional="0"/>
+ <field name="supplier" expand="1" optional="0"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
<field name="quotation_state"/>
diff -r 8183563ea789 -r 0687f609a48c view/purchase_request_quotation_list.xml
--- a/view/purchase_request_quotation_list.xml Tue Jan 25 10:01:02 2022 +0100
+++ b/view/purchase_request_quotation_list.xml Thu Feb 03 23:13:27 2022 +0100
@@ -2,6 +2,7 @@
<!-- 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="supplier" expand="2"/>
<field name="state"/>