Author: hansbak
Date: Tue May 6 23:24:21 2008
New Revision: 654001
URL:
http://svn.apache.org/viewvc?rev=654001&view=revLog:
entity has key extended, but lookup not adapted: corrected so quickreturn order works again
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?rev=654001&r1=654000&r2=654001&view=diff==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Tue May 6 23:24:21 2008
@@ -702,12 +702,14 @@
</entity-one>
<entity-one entity-name="ReturnItemTypeMap" value-name="returnItemTypeMapping">
<field-map env-name="product.productTypeId" field-name="returnItemMapKey"/>
+ <field-map value="CUSTOMER_RETURN" field-name="returnHeaderTypeId"/>
</entity-one>
<else>
<!-- if not, try the ReturnItemTypeMap, but this may not actually work, so log a warning -->
<log level="warning" message="Trying to find returnItemtype from ReturnItemTypeMap with orderItemtypeId [${orderItem.orderItemTypeId}] for order item [${orderItem}]"/>
<entity-one entity-name="ReturnItemTypeMap" value-name="returnItemTypeMapping">
<field-map env-name="orderItemTypeId" field-name="returnItemMapKey"/>
+ <field-map value="CUSTOMER_RETURN" field-name="returnHeaderTypeId"/>
</entity-one>
</else>
</if-compare>