[FIX] product: name in formula

When the user selects a pricelist based on a formula, the name in the
formula is the same if "Public Price" or "Cost" is selected.

opw-670563
This commit is contained in:
Nicolas Martinelli
2016-03-04 12:04:33 +01:00
parent 8528651d22
commit 501e09ba94
+2 -1
View File
@@ -66,7 +66,8 @@
<label string="New Price ="/>
<div>
<span attrs="{'invisible':[('base', 'not in', ('list_price','standard_price'))]}">Public Price - </span>
<span attrs="{'invisible':[('base', '!=', 'list_price')]}">Public Price - </span>
<span attrs="{'invisible':[('base', '!=', 'standard_price')]}">Cost - </span>
<span attrs="{'invisible':[('base', '!=', 'pricelist')]}">Other Pricelist - </span>
</div>
<label for="price_discount"/>