You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2010/12/04 19:36:11 UTC
svn commit: r1042222 -
/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Author: ashish
Date: Sat Dec 4 18:36:11 2010
New Revision: 1042222
URL: http://svn.apache.org/viewvc?rev=1042222&view=rev
Log:
Bug fix - Typo - ORDER_COMPLETE -> ORDER_COMPLETED. ITEM_COMPLETE -> ITEM_COMPLETED.
This was causing issue and was not changing the PO line items status to completed one when order comes into complete status.
Thanks Pranay & Amit!
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=1042222&r1=1042221&r2=1042222&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Sat Dec 4 18:36:11 2010
@@ -2134,8 +2134,8 @@ public class OrderServices {
String newItemStatusId = null;
if ("ORDER_APPROVED".equals(statusId)) {
newItemStatusId = "ITEM_APPROVED";
- } else if ("ORDER_COMPLETE".equals(statusId)) {
- newItemStatusId = "ITEM_COMPLETE";
+ } else if ("ORDER_COMPLETED".equals(statusId)) {
+ newItemStatusId = "ITEM_COMPLETED";
} else if ("ORDER_CANCELLED".equals(statusId)) {
newItemStatusId = "ITEM_CANCELLED";
}