[Erp5-report] r17766 - /erp5/trunk/products/ERP5/Document/SimulationMovement.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 23 16:06:32 CET 2007


Author: alex
Date: Fri Nov 23 16:06:32 2007
New Revision: 17766

URL: http://svn.erp5.org?rev=17766&view=rev
Log:
_isTreeDelivered: fix wrong "if" statement

Modified:
    erp5/trunk/products/ERP5/Document/SimulationMovement.py

Modified: erp5/trunk/products/ERP5/Document/SimulationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SimulationMovement.py?rev=17766&r1=17765&r2=17766&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py Fri Nov 23 16:06:32 2007
@@ -517,7 +517,7 @@
     cache_enabled = cache.get(TREE_DELIVERED_CACHE_ENABLED, 0)
 
     def getTreeDelivered(movement, ignore_first=0):
-      if ignore_first:
+      if not ignore_first:
         if len(movement.getDeliveryList()) > 0:
           return True
       for applied_rule in movement.objectValues():




More information about the Erp5-report mailing list