Add optional column on tree view

issue10989
review374321002
This commit is contained in:
Cédric Krier committed 2022-02-03 23:13:26 +01:00
1 parent 95d88cbd62
commit a5353a8880
3 files changed
+7 -5

No files matched your search

+2
View File
@@ -3,4 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="party" expand="1"/>
<field name="currency" optional="1"/>
<field name="timezone" optional="1"/>
</tree>
+4 -4
View File
@@ -3,8 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="party" expand="1"/>
<field name="company" expand="1"/>
<field name="supervisor" expand="1"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="company" expand="1" optional="1"/>
<field name="supervisor" expand="1" optional="1"/>
<field name="start_date" optional="1"/>
<field name="end_date" optional="1"/>
</tree>
+1 -1
View File
@@ -3,6 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='sequence_type']" position="after">
<field name="company" expand="1"/>
<field name="company" expand="1" optional="1"/>
</xpath>
</data>