changeset 3d1c711ee840 in modules/stock_secondary_unit:default
details:
https://hg.tryton.org/modules/stock_secondary_unit?cmd=changeset;node=3d1c711ee840
description:
Add symbol widget
issue9059
review276871002
diffstat:
view/stock_move_form.xml | 2 +-
view/stock_move_tree.xml | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 5d324a7d1688 -r 3d1c711ee840 view/stock_move_form.xml
--- a/view/stock_move_form.xml Fri Aug 14 14:21:09 2020 +0200
+++ b/view/stock_move_form.xml Fri Oct 09 19:09:06 2020 +0200
@@ -9,7 +9,7 @@
<label name="secondary_unit" string="Unit:"/>
<field name="secondary_unit"/>
<label name="secondary_unit_price" string="Unit Price:"/>
- <field name="secondary_unit_price"/>
+ <field name="secondary_unit_price" symbol="currency"/>
<newline/>
</xpath>
</data>
diff -r 5d324a7d1688 -r 3d1c711ee840 view/stock_move_tree.xml
--- a/view/stock_move_tree.xml Fri Aug 14 14:21:09 2020 +0200
+++ b/view/stock_move_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -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. -->
<data>
- <xpath expr="//field[@name='uom']" position="after">
- <field name="secondary_quantity"/>
- <field name="secondary_unit"/>
+ <xpath expr="//field[@name='quantity']" position="after">
+ <field name="secondary_quantity" symbol="secondary_unit"/>
</xpath>
</data>