Add optional column on tree view

issue10989
review374321002
This commit is contained in:
Cédric Krier
2022-02-03 23:13:27 +01:00
parent fedb2faeb8
commit 62988dd243
3 changed files with 6 additions and 5 deletions
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="request" expand="1"/>
<field name="supply_date"/>
<field name="product" expand="1"/>
<field name="description" expand="1"/>
<field name="supply_date" optional="0"/>
<field name="product" expand="1" optional="0"/>
<field name="description" expand="1" optional="1"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
</tree>
@@ -3,8 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree sequence="sequence">
<field name="quotation" expand="1"/>
<field name="supply_date"/>
<field name="supplier" expand="1"/>
<field name="supply_date" optional="0"/>
<field name="supplier" expand="1" optional="0"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
<field name="quotation_state"/>
+1
View File
@@ -2,6 +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" optional="1"/>
<field name="number" expand="1"/>
<field name="supplier" expand="2"/>
<field name="state"/>