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 e6324838d9
commit cce85ea608
3 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="price_list" expand="1"/>
<field name="sequence"/>
<field name="sequence" optional="1"/>
<field name="category" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="formula" expand="1"/>
<field name="formula" expand="1" optional="0"/>
</tree>
+2 -1
View File
@@ -2,8 +2,9 @@
<!-- 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 sequence="sequence">
<field name="price_list" expand="1"/>
<field name="category" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="formula" expand="1"/>
<field name="formula" expand="1" optional="0"/>
</tree>
+2 -2
View File
@@ -3,6 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name" expand="1"/>
<field name="tax_included"/>
<field name="unit"/>
<field name="tax_included" optional="1"/>
<field name="unit" optional="1"/>
</tree>