[Erp5-report] r37098 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jul 14 04:58:22 CEST 2010
Author: nicolas.dumazet
Date: Wed Jul 14 04:58:21 2010
New Revision: 37098
URL: http://svn.erp5.org?rev=37098&view=rev
Log:
oops, we were stopping at Applied Rules and ignoring their children. Not good.
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=37098&r1=37097&r2=37098&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] Wed Jul 14 04:58:21 2010
@@ -680,6 +680,13 @@ class SimulationMovement(Movement, Prope
tree_node.visited_movement_dict[id] = t
if path in path_set_to_check:
yield t
+ else:
+ # it must be an Applied Rule
+ subtree = tree_node.get(id, treeNode())
+ for d in descendantGenerator(subdocument,
+ subtree,
+ path_set_to_check):
+ yield d
for id, t in tree_node.visited_movement_dict.iteritems():
subdocument, path = t
More information about the Erp5-report
mailing list