diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-01-04 14:05:14 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-01-04 15:03:03 +0100 |
| commit | 6a481dce1fc5cfceda97bc7cb03f8926d01d78b8 (patch) | |
| tree | ecd3e33e3b30bdd0386520ae1b170df2f455a0ac | |
| parent | 5f3255be7f4c19d208bba7c3f149494bd1abf144 (diff) | |
[FIX] stock_account: cost price digits
Complement of cf32a23b92435269035e6
Closes #21686
opw-800279
| -rw-r--r-- | addons/stock_account/views/product_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml index 9de57f6fe82..5491d63a6bd 100644 --- a/addons/stock_account/views/product_views.xml +++ b/addons/stock_account/views/product_views.xml @@ -41,7 +41,7 @@ <div class="o_row"> <field name="standard_price" attrs="{'readonly':[('valuation','=','real_time')]}" - widget='monetary' options="{'currency_field': 'currency_id'}" /> + widget='monetary' options="{'currency_field': 'currency_id', 'field_digits': True}" /> <button string="Update Cost" type="action" name="%(action_view_change_standard_price)d" attrs="{'invisible':['|', '|', ('valuation','!=', 'real_time'), ('cost_method', 'not in', ['average', 'standard']), ('product_variant_count', '>', 1)]}" |
