Skip to content

Commit

Permalink
[FIX] product: Fields in the pricelist are not fully displayed
Browse files Browse the repository at this point in the history
Steps to reproduce the bug:

-Activate the option "Prices computed from formulas (discounts, margins, roundings)" on the pricelist.
-On the pricelist, click on Edit and select a product item.
-Select "Formula" as Compute price

Bug:

The fields price_surcharge and price_max_margin were not fully displayed.

Introduced by: 9de1bc0#diff-e0b4a29125b1abccb0318498970342fcL61

opw:1907217

closes #28514
  • Loading branch information
simongoffin committed Nov 12, 2018
1 parent 5e987bc commit 253676d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions addons/product/i18n/product.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,11 @@ msgstr ""
msgid "Never"
msgstr ""

#. module: product
#: model_terms:ir.ui.view,arch_db:product.product_pricelist_item_form_view
msgid "New Price ="
msgstr ""

#. module: product
#: model:ir.model.fields,field_description:product.field_product_product__activity_date_deadline
#: model:ir.model.fields,field_description:product.field_product_template__activity_date_deadline
Expand Down
2 changes: 1 addition & 1 deletion addons/product/views/product_pricelist_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<group col="6" attrs="{'invisible':[('compute_price', '!=', 'formula')]}">
<field name="base" colspan="6"/>

<span class="o_form_label">New Price =</span>
<label for="" string="New Price ="/>
<div>
<span attrs="{'invisible':[('base', '!=', 'list_price')]}">Public Price - </span>
<span attrs="{'invisible':[('base', '!=', 'standard_price')]}">Cost - </span>
Expand Down

0 comments on commit 253676d

Please sign in to comment.