Author: mor
Date: Thu Jun 25 12:11:03 2009
New Revision: 788337

URL: http://svn.apache.org/viewvc?rev=788337&view=rev
Log:
Canceling Order in Order view page of Order Manager, does not cancels inventory 
reservation and order items. Reported by Andrew Zeneski off the list.
Applied patch from OFBIZ-2656 
(https://issues.apache.org/jira/browse/OFBIZ-2656). Thanks Divesh Dutta and 
Ratnesh Upadhyay for the fix.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl?rev=788337&r1=788336&r2=788337&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl 
(original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl Thu Jun 
25 12:11:03 2009
@@ -70,6 +70,7 @@
               <li><a 
href="javascript:document.OrderCancel.submit()">${uiLabelMap.OrderCancelOrder}</a></li>
               <form name="OrderCancel" method="post" 
action="<@ofbizUrl>changeOrderStatus/orderview</@ofbizUrl>">
                 <input type="hidden" name="statusId" value="ORDER_CANCELLED"/>
+                <input type="hidden" name="setItemStatus" value="Y"/>
                 <input type="hidden" name="workEffortId" 
value="${workEffortId?if_exists}"/>
                 <input type="hidden" name="orderId" 
value="${orderId?if_exists}"/>
                 <input type="hidden" name="partyId" 
value="${assignPartyId?if_exists}"/>


Reply via email to