Author: hansbak
Date: Wed Jul 19 00:11:04 2006
New Revision: 423389
URL:
http://svn.apache.org/viewvc?rev=423389&view=revLog:
fixed a problem with creating a product in a category
Modified:
incubator/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
Modified: incubator/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml?rev=423389&r1=423388&r2=423389&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml (original)
+++ incubator/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml Wed Jul 19 00:11:04 2006
@@ -517,7 +517,7 @@
<env-to-env env-name="parameters.averageCost" to-env-name="createAverageCostMap.price"/>
<string-to-field string="_NA_" field-name="createAverageCostMap.productStoreGroupId"/>
<string-to-field string="AVERAGE_COST" field-name="createAverageCostMap.productPriceTypeId"/>
- <set field="createDefaultPriceMap.productPricePurposeId" value="PURCHASE"/>
+ <set field="createAverageCostMap.productPricePurposeId" value="PURCHASE"/>
<call-service service-name="createProductPrice" in-map-name="createAverageCostMap"/>
</if-not-empty>