changeset 1f6beacf913c in modules/sale_secondary_unit:default
details:
https://hg.tryton.org/modules/sale_secondary_unit?cmd=changeset;node=1f6beacf913c
description:
Add symbol widget
issue9059
review276871002
diffstat:
view/sale_line_form.xml | 2 +-
view/sale_line_tree.xml | 5 ++---
view/stock_move_list.xml | 5 ++---
3 files changed, 5 insertions(+), 7 deletions(-)
diffs (40 lines):
diff -r ce4ed23755dc -r 1f6beacf913c view/sale_line_form.xml
--- a/view/sale_line_form.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/sale_line_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 ce4ed23755dc -r 1f6beacf913c view/sale_line_tree.xml
--- a/view/sale_line_tree.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/sale_line_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -3,8 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='unit_price']" position="after">
- <field name="secondary_quantity"/>
- <field name="secondary_unit"/>
- <field name="secondary_unit_price"/>
+ <field name="secondary_quantity" symbol="secondary_unit"/>
+ <field name="secondary_unit_price" symbol="currency"/>
</xpath>
</data>
diff -r ce4ed23755dc -r 1f6beacf913c view/stock_move_list.xml
--- a/view/stock_move_list.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/stock_move_list.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>