Add expand on tree view
and unify layout of form view. issue8644 review262131002
This commit is contained in:
1 parent
1babe42799
commit
5ab1eaa8b5
19 files changed
+67
-85
No files matched your search
+8
-10
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="4">
|
||||
<form>
|
||||
<label name="location"/>
|
||||
<field name="location"/>
|
||||
<label name="number"/>
|
||||
@@ -15,14 +15,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="empty_quantity"/>
|
||||
<field name="empty_quantity"/>
|
||||
<field name="lines" colspan="4"/>
|
||||
<group col="4" colspan="4" id="group_buttons">
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group colspan="2" col="-1" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="complete_lines"/>
|
||||
<button name="count"/>
|
||||
<button name="confirm" icon="tryton-ok"/>
|
||||
</group>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group colspan="2" col="-1" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="complete_lines"/>
|
||||
<button name="count"/>
|
||||
<button name="confirm" icon="tryton-ok"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -2,10 +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 editable="bottom">
|
||||
<field name="inventory"/>
|
||||
<field name="product"/>
|
||||
<field name="inventory" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="expected_quantity"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -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="number"/>
|
||||
<field name="location"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="location" expand="2"/>
|
||||
<field name="date"/>
|
||||
<field name="state"/>
|
||||
<field name="company"/>
|
||||
<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 sequence="sequence" editable="top">
|
||||
<field name="warehouse_from"/>
|
||||
<field name="warehouse_to"/>
|
||||
<field name="warehouse_from" expand="1"/>
|
||||
<field name="warehouse_to" expand="1"/>
|
||||
<field name="lead_time"/>
|
||||
</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="name"/>
|
||||
<field name="code"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="type"/>
|
||||
</tree>
|
||||
@@ -2,10 +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 keyword_open="1">
|
||||
<field name="name"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code"/>
|
||||
<field name="type"/>
|
||||
<field name="active" tree_invisible="1"/>
|
||||
<field name="parent" tree_invisible="1"/>
|
||||
<field name="childs" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -2,10 +2,10 @@
|
||||
<!-- 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="shipment"/>
|
||||
<field name="product"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="shipment" expand="2"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="planned_date"/>
|
||||
@@ -14,5 +14,4 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<button name="cancel" string="Cancel"/>
|
||||
<button name="draft" string="Reset to Draft"/>
|
||||
<button name="do" string="Do"/>
|
||||
<field name="assignation_required" tree_invisible="1"/>
|
||||
</tree>
|
||||
+4
-6
@@ -2,10 +2,10 @@
|
||||
<!-- 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"/>
|
||||
<field name="product"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="origin" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="planned_date"/>
|
||||
@@ -14,6 +14,4 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<button name="cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="do"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
<field name="assignation_required" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -2,8 +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="product"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom" expand="1"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
<field name="uom"/>
|
||||
</tree>
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="date"/>
|
||||
<field name="company"/>
|
||||
<field name="company" expand="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -33,14 +33,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="done_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="4" colspan="6" id="state_buttons">
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="receive" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
<button name="draft" icon="tryton-undo"/>
|
||||
</group>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="receive" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
<button name="draft" icon="tryton-undo"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -6,7 +6,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="supplier"/>
|
||||
<field name="supplier" expand="1"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,11 @@
|
||||
<!-- 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="number" expand="1"/>
|
||||
<field name="reference" expand="1"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="supplier"/>
|
||||
<field name="supplier" expand="2"/>
|
||||
<field name="contact_address"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="4" cursor="from_location">
|
||||
<form cursor="from_location">
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<label name="number"/>
|
||||
|
||||
@@ -2,12 +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="number" expand="1"/>
|
||||
<field name="reference" expand="1"/>
|
||||
<field name="planned_start_date"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
+10
-14
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="4" cursor="customer">
|
||||
<form cursor="customer">
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<label name="number"/>
|
||||
@@ -34,18 +34,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="done_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="4" colspan="4" id="state_buttons">
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="wait"/>
|
||||
<button name="assign_wizard" icon="tryton-forward"/>
|
||||
<button name="pack" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
</group>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="wait"/>
|
||||
<button name="assign_wizard" icon="tryton-forward"/>
|
||||
<button name="pack" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
</group>
|
||||
<field name="warehouse_storage" invisible="1" colspan="4"/>
|
||||
<field name="warehouse_output" invisible="1" colspan="4"/>
|
||||
</form>
|
||||
@@ -32,14 +32,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="done_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="4" colspan="6" id="state_buttons">
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-clear"/>
|
||||
<button name="receive" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
</group>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-clear"/>
|
||||
<button name="receive" icon="tryton-forward"/>
|
||||
<button name="done" icon="tryton-ok"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -2,11 +2,11 @@
|
||||
<!-- 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="number" expand="1"/>
|
||||
<field name="reference" expand="1"/>
|
||||
<field name="state"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer"/>
|
||||
<field name="customer" expand="2"/>
|
||||
<field name="delivery_address"/>
|
||||
</tree>
|
||||
@@ -2,11 +2,11 @@
|
||||
<!-- 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="number" expand="1"/>
|
||||
<field name="reference" expand="1"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer"/>
|
||||
<field name="customer" expand="2"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
Reference in new issue
Block a user