Skip to content

Commit

Permalink
[IMP] product: add monetary widget on list_price
Browse files Browse the repository at this point in the history
Make consistent display of Sale price and Cost price by showing currency
on both.

opw-668159
Closes #10672
  • Loading branch information
Thomas Groutars authored and nim-odoo committed Feb 2, 2016
1 parent 017c4b0 commit ae7ccb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/product/product_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<field name="type" on_change="onchange_type(type, context)"/>
</group>
<group name="group_standard_price">
<field name="list_price"/>
<field name="list_price" widget='monetary' options="{'currency_field': 'currency_id'}"/>
<label for="standard_price" groups="base.group_user"/>
<div name="standard_price_uom" groups="base.group_user">
<field name="standard_price" widget='monetary' options="{'currency_field': 'currency_id'}" class="oe_inline"/>
Expand Down

0 comments on commit ae7ccb6

Please sign in to comment.