changeset 7535936ae6a3 in modules/purchase_secondary_unit:default
details: 
https://hg.tryton.org/modules/purchase_secondary_unit?cmd=changeset;node=7535936ae6a3
description:
        Add symbol widget

        issue9059
        review276871002
diffstat:

 view/purchase_line_form.xml |  2 +-
 view/purchase_line_tree.xml |  5 ++---
 view/stock_move_list.xml    |  3 +--
 3 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r b9da7b48e4a1 -r 7535936ae6a3 view/purchase_line_form.xml
--- a/view/purchase_line_form.xml       Thu Jul 09 10:21:06 2020 +0100
+++ b/view/purchase_line_form.xml       Fri Oct 09 19:09:05 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 b9da7b48e4a1 -r 7535936ae6a3 view/purchase_line_tree.xml
--- a/view/purchase_line_tree.xml       Thu Jul 09 10:21:06 2020 +0100
+++ b/view/purchase_line_tree.xml       Fri Oct 09 19:09:05 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 b9da7b48e4a1 -r 7535936ae6a3 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:05 2020 +0200
@@ -3,7 +3,6 @@
 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"/>
+        <field name="secondary_quantity" symbol="secondary_unit"/>
     </xpath>
 </data>

Reply via email to