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

        issue10989
        review374321002
diffstat:

 view/attendance_list.xml |  2 +-
 view/period_list.xml     |  2 +-
 view/sheet_list.xml      |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r ae3ce71e27fe -r 604465dc8a8a view/attendance_list.xml
--- a/view/attendance_list.xml  Sat Dec 18 16:31:07 2021 +0100
+++ b/view/attendance_list.xml  Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +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"/>
+    <field name="company" expand="1" optional="1"/>
     <field name="employee" expand="2"/>
     <field name="type"/>
     <field name="at" widget="date" string="Date"/>
diff -r ae3ce71e27fe -r 604465dc8a8a view/period_list.xml
--- a/view/period_list.xml      Sat Dec 18 16:31:07 2021 +0100
+++ b/view/period_list.xml      Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +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"/>
+    <field name="company" expand="1" optional="1"/>
     <field name="ends_at" widget="date"/>
     <field name="ends_at" widget="time" string="Time"/>
     <field name="state"/>
diff -r ae3ce71e27fe -r 604465dc8a8a view/sheet_list.xml
--- a/view/sheet_list.xml       Sat Dec 18 16:31:07 2021 +0100
+++ b/view/sheet_list.xml       Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +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"/>
+    <field name="company" expand="1" optional="1"/>
     <field name="employee" expand="2"/>
     <field name="date"/>
     <field name="duration" expand="2"/>

Reply via email to