Author: deepak
Date: Tue Jun 6 06:18:04 2017
New Revision: 1797736
URL: http://svn.apache.org/viewvc?rev=1797736&view=rev
Log:
Applied fix from trunk manually for revision: 1797733
===
Fixed: CostServices.xml#getProductCost fail currency
conversion.(OFBIZ-9387)
Thanks Wai for your contribution.
Modified:
ofbiz/branches/release14.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
Modified:
ofbiz/branches/release14.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=1797736&r1=1797735&r2=1797736&view=diff
==============================================================================
---
ofbiz/branches/release14.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
(original)
+++
ofbiz/branches/release14.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
Tue Jun 6 06:18:04 2017
@@ -109,7 +109,6 @@ under the License.
<if-compare field="productCost" operator="equals" value="0"
type="BigDecimal">
<clear-field field="costsAndMap"/>
<set from-field="parameters.productId"
field="costsAndMap.productId"/>
- <set from-field="parameters.productPriceTypeId"
field="costsAndMap.productPriceTypeId"/>
<find-by-and entity-name="SupplierProduct" map="costsAndMap"
list="priceCosts" order-by-list="orderByList"/>
<filter-list-by-date list="priceCosts"
from-field-name="availableFromDate" thru-field-name="availableThruDate"/>
<first-from-list list="priceCosts" entry="priceCost"/>