changeset ee03655cf916 in modules/production_work:default
details:
https://hg.tryton.org/modules/production_work?cmd=changeset&node=ee03655cf916
description:
Add optional column on tree view
issue10989
review374321002
diffstat:
view/production_list.xml | 2 +-
view/work_center_list.xml | 5 +++--
view/work_center_tree.xml | 5 +++--
view/work_list.xml | 6 ++++--
4 files changed, 11 insertions(+), 7 deletions(-)
diffs (53 lines):
diff -r ee4ad3b72f40 -r ee03655cf916 view/production_list.xml
--- a/view/production_list.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/production_list.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='reference']" position="after">
- <field name="work_center"/>
+ <field name="work_center" optional="1"/>
</xpath>
</data>
diff -r ee4ad3b72f40 -r ee03655cf916 view/work_center_list.xml
--- a/view/work_center_list.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/work_center_list.xml Thu Feb 03 23:13:26 2022 +0100
@@ -3,6 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="rec_name" expand="2"/>
- <field name="category" expand="1"/>
- <field name="warehouse" tree_invisible="1"/>
+ <field name="category" expand="1" optional="0"/>
+ <field name="company" expand="1" optional="1"/>
+ <field name="warehouse" expand="1" optional="1"/>
</tree>
diff -r ee4ad3b72f40 -r ee03655cf916 view/work_center_tree.xml
--- a/view/work_center_tree.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/work_center_tree.xml Thu Feb 03 23:13:26 2022 +0100
@@ -3,6 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name" expand="2"/>
- <field name="category" expand="1"/>
- <field name="warehouse" tree_invisible="1"/>
+ <field name="category" expand="1" optional="0"/>
+ <field name="company" expand="1" optional="1"/>
+ <field name="warehouse" expand="1" optional="1"/>
</tree>
diff -r ee4ad3b72f40 -r ee03655cf916 view/work_list.xml
--- a/view/work_list.xml Sat Dec 18 16:31:10 2021 +0100
+++ b/view/work_list.xml Thu Feb 03 23:13:26 2022 +0100
@@ -2,8 +2,10 @@
<!-- 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="warehouse" expand="1" optional="1"/>
<field name="production" expand="1"/>
- <field name="operation" expand="1"/>
- <field name="work_center" expand="1"/>
+ <field name="operation" expand="1" optional="0"/>
+ <field name="work_center" expand="1" optional="0"/>
<field name="state"/>
</tree>