changeset b3a812230160 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=b3a812230160
description:
Add symbol widget
issue9059
review276871002
diffstat:
view/inventory_count_quantity_form.xml | 9 +++------
view/inventory_line_form.xml | 14 ++++++--------
view/inventory_line_list_simple.xml | 5 ++---
view/inventory_line_tree.xml | 5 ++---
view/move_list_shipment.xml | 3 +--
view/move_list_shipment_in.xml | 3 +--
view/move_tree.xml | 3 +--
view/move_tree_simple.xml | 3 +--
8 files changed, 17 insertions(+), 28 deletions(-)
diffs (125 lines):
diff -r fa9e653fb9db -r b3a812230160 view/inventory_count_quantity_form.xml
--- a/view/inventory_count_quantity_form.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/inventory_count_quantity_form.xml Fri Oct 09 19:09:06 2020 +0200
@@ -1,15 +1,12 @@
<?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>
+<form col="2">
<label name="product"/>
<field name="product"/>
- <newline/>
<label name="total_quantity"/>
- <field name="total_quantity"/>
- <label name="uom"/>
- <field name="uom"/>
+ <field name="total_quantity" symbol="uom"/>
<label name="quantity_added"/>
- <field name="quantity_added"/>
+ <field name="quantity_added" symbol="uom"/>
<field name="line" colspan="-1" invisible="1"/>
</form>
diff -r fa9e653fb9db -r b3a812230160 view/inventory_line_form.xml
--- a/view/inventory_line_form.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/inventory_line_form.xml Fri Oct 09 19:09:06 2020 +0200
@@ -2,17 +2,15 @@
<!-- 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">
- <label name="inventory"/>
- <field name="inventory"/>
- <newline/>
<label name="product"/>
<field name="product"/>
- <label name="uom"/>
- <field name="uom"/>
- <newline/>
+ <label name="inventory"/>
+ <field name="inventory"/>
+
<label name="expected_quantity"/>
- <field name="expected_quantity"/>
+ <field name="expected_quantity" symbol="uom"/>
<label name="quantity"/>
- <field name="quantity"/>
+ <field name="quantity" symbol="uom"/>
+
<field name="moves" colspan="4"/>
</form>
diff -r fa9e653fb9db -r b3a812230160 view/inventory_line_list_simple.xml
--- a/view/inventory_line_list_simple.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/inventory_line_list_simple.xml Fri Oct 09 19:09:06 2020 +0200
@@ -3,7 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<tree editable="1">
<field name="product" expand="1"/>
- <field name="expected_quantity"/>
- <field name="quantity"/>
- <field name="uom"/>
+ <field name="expected_quantity" symbol="uom"/>
+ <field name="quantity" symbol="uom"/>
</tree>
diff -r fa9e653fb9db -r b3a812230160 view/inventory_line_tree.xml
--- a/view/inventory_line_tree.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/inventory_line_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -6,7 +6,6 @@
<field name="inventory_location" expand="1"/>
<field name="inventory_date"/>
<field name="product" expand="2"/>
- <field name="expected_quantity"/>
- <field name="quantity"/>
- <field name="uom"/>
+ <field name="expected_quantity" symbol="uom"/>
+ <field name="quantity" symbol="uom"/>
</tree>
diff -r fa9e653fb9db -r b3a812230160 view/move_list_shipment.xml
--- a/view/move_list_shipment.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/move_list_shipment.xml Fri Oct 09 19:09:06 2020 +0200
@@ -5,8 +5,7 @@
<field name="shipment" expand="2"/>
<field name="from_location" expand="1"/>
<field name="product" expand="2"/>
- <field name="quantity"/>
- <field name="uom"/>
+ <field name="quantity" symbol="uom"/>
<field name="to_location" expand="1"/>
<field name="state"/>
</tree>
diff -r fa9e653fb9db -r b3a812230160 view/move_list_shipment_in.xml
--- a/view/move_list_shipment_in.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/move_list_shipment_in.xml Fri Oct 09 19:09:06 2020 +0200
@@ -5,8 +5,7 @@
<field name="shipment" expand="2"/>
<field name="from_location" expand="1"/>
<field name="product" expand="2"/>
- <field name="quantity"/>
- <field name="uom"/>
+ <field name="quantity" symbol="uom"/>
<field name="to_location" expand="1"/>
<field name="state"/>
</tree>
diff -r fa9e653fb9db -r b3a812230160 view/move_tree.xml
--- a/view/move_tree.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/move_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -6,8 +6,7 @@
<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="quantity" symbol="uom"/>
<field name="planned_date"/>
<field name="effective_date"/>
<field name="state"/>
diff -r fa9e653fb9db -r b3a812230160 view/move_tree_simple.xml
--- a/view/move_tree_simple.xml Sun Oct 04 23:57:37 2020 +0200
+++ b/view/move_tree_simple.xml Fri Oct 09 19:09:06 2020 +0200
@@ -3,6 +3,5 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="product" expand="1"/>
- <field name="quantity"/>
- <field name="uom"/>
+ <field name="quantity" symbol="uom"/>
</tree>