Author: mor
Date: Mon Jul 6 11:48:27 2009
New Revision: 791450
URL:
http://svn.apache.org/viewvc?rev=791450&view=revLog:
Removed extra statement.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy?rev=791450&r1=791449&r2=791450&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy Mon Jul 6 11:48:27 2009
@@ -68,7 +68,7 @@
productList.each { supplierProduct ->
quantityOnOrder = 0.0;
productId = supplierProduct.productId;
- condition = []; // find approved purchase orders
+ // find approved purchase orders
condition = EntityCondition.makeCondition(EntityCondition.makeCondition("orderTypeId", "PURCHASE_ORDER"), EntityOperator.AND,
EntityCondition.makeCondition("statusId", "ORDER_APPROVED"));