Author: mor
Date: Fri Jun 11 06:53:12 2010
New Revision: 953580
URL: http://svn.apache.org/viewvc?rev=953580&view=rev
Log:
Consider returned items for a non-serialized inventory as good merchandise.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?rev=953580&r1=953579&r2=953580&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
(original)
+++
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
Fri Jun 11 06:53:12 2010
@@ -628,6 +628,7 @@ under the License.
<or>
<if-empty field="inventoryItem.statusId"/>
<if-compare field="inventoryItem.statusId"
operator="equals" value="INV_AVAILABLE"/>
+ <if-compare field="inventoryItem.statusId"
operator="equals" value="INV_NS_RETURNED"/>
<if-compare
field="inventoryItem.inventoryItemTypeId" operator="equals"
value="SERIALIZED_INV_ITEM"/><!-- status is reflected in total fields -->
</or>
</and>