Permalink
Browse files

[FIX] product: Fields in the pricelist are not fully displayed

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.

opw:1907217
  • Loading branch information...
simongoffin committed Nov 8, 2018
1 parent 7aa2136 commit ee536bdfdeb4586200396b19acb8a600d5011ab5
Showing with 6 additions and 1 deletion.
  1. +5 −0 addons/product/i18n/product.pot
  2. +1 −1 addons/product/views/product_pricelist_views.xml
@@ -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
@@ -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>

0 comments on commit ee536bd

Please sign in to comment.