changeset d1eabac0086a in modules/project_revenue:default
details: 
https://hg.tryton.org/modules/project_revenue?cmd=changeset&node=d1eabac0086a
description:
        Add optional column on tree view

        issue10989
        review374321002
diffstat:

 view/work_list.xml          |  8 ++++----
 view/work_list_children.xml |  6 +++---
 view/work_tree.xml          |  8 ++++----
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (49 lines):

diff -r 56f63f263227 -r d1eabac0086a view/work_list.xml
--- a/view/work_list.xml        Sun Jan 30 20:17:47 2022 +0100
+++ b/view/work_list.xml        Thu Feb 03 23:13:27 2022 +0100
@@ -3,9 +3,9 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='total_effort']" position="after">
-        <field name="product"/>
-        <field name="list_price"/>
-        <field name="revenue"/>
-        <field name="cost"/>
+        <field name="product" optional="1"/>
+        <field name="list_price" optional="1"/>
+        <field name="revenue" optional="0"/>
+        <field name="cost" optional="0"/>
     </xpath>
 </data>
diff -r 56f63f263227 -r d1eabac0086a view/work_list_children.xml
--- a/view/work_list_children.xml       Sun Jan 30 20:17:47 2022 +0100
+++ b/view/work_list_children.xml       Thu Feb 03 23:13:27 2022 +0100
@@ -3,8 +3,8 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='total_effort']" position="after">
-        <field name="product"/>
-        <field name="list_price"/>
-        <field name="cost"/>
+        <field name="product" optional="1"/>
+        <field name="list_price" optional="1"/>
+        <field name="cost" optional="0"/>
     </xpath>
 </data>
diff -r 56f63f263227 -r d1eabac0086a view/work_tree.xml
--- a/view/work_tree.xml        Sun Jan 30 20:17:47 2022 +0100
+++ b/view/work_tree.xml        Thu Feb 03 23:13:27 2022 +0100
@@ -3,9 +3,9 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='total_effort']" position="after">
-        <field name="product"/>
-        <field name="list_price"/>
-        <field name="revenue"/>
-        <field name="cost"/>
+        <field name="product" optional="1"/>
+        <field name="list_price" optional="1"/>
+        <field name="revenue" optional="0"/>
+        <field name="cost" optional="0"/>
     </xpath>
 </data>

Reply via email to