[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.

Introduced by: https://github.com/odoo/odoo/commit/9de1bc0eef6f5bfaa2a8d745431caa361ae91548#diff-e0b4a29125b1abccb0318498970342fcL61

opw:1907217

closes odoo/odoo#28514
This commit is contained in:
Goffin Simon
2018-11-12 12:58:44 +00:00
parent 5e987bc020
commit 253676da54
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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>