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


The fields price_surcharge and price_max_margin were not fully displayed.

  • Loading branch information...
simongoffin committed Nov 8, 2018
1 parent 7aa2136 commit 58f661adf1ffc91b75ad5459fefe14b1fd5f40e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/product/views/product_pricelist_views.xml
@@ -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 ="/>
<span attrs="{'invisible':[('base', '!=', 'list_price')]}">Public Price - </span>
<span attrs="{'invisible':[('base', '!=', 'standard_price')]}">Cost - </span>

0 comments on commit 58f661a

Please sign in to comment.