Add optional column on tree view
issue10989 review374321002
This commit is contained in:
1 parent
0201ff5bdd
commit
4b00387d12
12 files changed
+42
-36
No files matched your search
@@ -2,9 +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>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="location" expand="2"/>
|
||||
<field name="date"/>
|
||||
<field name="state"/>
|
||||
<field name="company" expand="1"/>
|
||||
</tree>
|
||||
@@ -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="code"/>
|
||||
<field name="code" optional="1"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="type" optional="0"/>
|
||||
</tree>
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree keyword_open="1">
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code"/>
|
||||
<field name="type"/>
|
||||
<field name="code" optional="1"/>
|
||||
<field name="type" optional="1"/>
|
||||
</tree>
|
||||
+4
-3
@@ -2,13 +2,14 @@
|
||||
<!-- 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="origin" expand="1"/>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="origin" expand="1" optional="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="quantity" symbol="uom"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="state"/>
|
||||
<button name="cancel"/>
|
||||
<button name="draft"/>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='subdivision']" position="after">
|
||||
<field name="delivery"/>
|
||||
<field name="delivery" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='party']" position="after">
|
||||
<field name="delivery"/>
|
||||
<field name="delivery" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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" optional="1"/>
|
||||
<field name="date"/>
|
||||
<field name="company" expand="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,12 @@
|
||||
<!-- 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="number"/>
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="supplier" expand="1"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="supplier" expand="1" optional="0"/>
|
||||
<field name="delivery_address" optional="0"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,12 @@
|
||||
<!-- 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="reference" expand="1"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="supplier" expand="2"/>
|
||||
<field name="contact_address"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="supplier" expand="2" optional="0"/>
|
||||
<field name="contact_address" optional="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,12 @@
|
||||
<!-- 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="reference" expand="1"/>
|
||||
<field name="planned_start_date"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="planned_start_date" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="state"/>
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
<!-- 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="reference" expand="1"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="customer" expand="2" optional="0"/>
|
||||
<field name="delivery_address" optional="1"/>
|
||||
<field name="state"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer" expand="2"/>
|
||||
<field name="delivery_address"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,12 @@
|
||||
<!-- 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="reference" expand="1"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer" expand="2"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="effective_date" optional="0"/>
|
||||
<field name="customer" expand="2" optional="0"/>
|
||||
<field name="delivery_address" optional="0"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
Reference in new issue
Block a user