Author: deepak
Date: Tue Jun 6 06:16:56 2017
New Revision: 1797735
URL:
http://svn.apache.org/viewvc?rev=1797735&view=revLog:
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/release15.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
Modified: ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=1797735&r1=1797734&r2=1797735&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml (original)
+++ ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/cost/CostServices.xml Tue Jun 6 06:16:56 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"/>