You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/04/08 00:36:05 UTC

svn commit: r526496 - /ofbiz/trunk/applications/order/servicedef/secas.xml

Author: lektran
Date: Sat Apr  7 15:36:03 2007
New Revision: 526496

URL: http://svn.apache.org/viewvc?view=rev&rev=526496
Log:
Moved the sendOrderChangeNotification seca so that only a single notification is sent when editing an order
Part of OFBIZ-876

Modified:
    ofbiz/trunk/applications/order/servicedef/secas.xml

Modified: ofbiz/trunk/applications/order/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?view=diff&rev=526496&r1=526495&r2=526496
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/secas.xml Sat Apr  7 15:36:03 2007
@@ -36,7 +36,6 @@
         <action service="recalcTaxTotal" mode="sync"/>
         <action service="resetGrandTotal" mode="sync"/>
         <action service="checkOrderItemStatus" mode="sync"/>
-        <action service="sendOrderChangeNotification" mode="async" persist="true"/>
     </eca>
     <eca service="changeOrderItemStatus" event="commit">
         <condition field-name="statusId" operator="equals" value="ITEM_COMPLETED"/>
@@ -90,6 +89,7 @@
     <!-- edit/add order items -->
     <eca service="updateOrderItems" event="commit">
         <action service="resetGrandTotal" mode="sync"/>
+        <action service="sendOrderChangeNotification" mode="async" persist="true"/>
     </eca>
     <eca service="updateOrderItems" event="return">
         <action service="processOrderPayments" mode="sync"/>
@@ -104,6 +104,7 @@
     <eca service="cancelOrderItem" event="commit">
         <action service="recreateOrderAdjustments" mode="sync"/>
         <action service="resetGrandTotal" mode="sync"/>
+        <action service="sendOrderChangeNotification" mode="async" persist="true"/>
     </eca>
     <eca service="cancelOrderItem" event="return">
         <action service="processOrderPayments" mode="sync"/>