Add XXX comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 802c241e
...@@ -79,6 +79,11 @@ class UnifySolver(AcceptSolver): ...@@ -79,6 +79,11 @@ class UnifySolver(AcceptSolver):
simulation_movement_list = [] simulation_movement_list = []
for sub_movement in movement.getMovementList(): for sub_movement in movement.getMovementList():
if sub_movement.hasProperty(solved_property): if sub_movement.hasProperty(solved_property):
# XXX-Leo, what if there is a sub_movement that doesn't have the
# property, but has a "parent" that DOES have the property and
# that parent is not 'movement'? Perhaps we should check instead if
# self._getActualTargetMovement(sub_movement,solved_property)==movement
# before considering its related simulation movements for inclusion...
continue continue
for simulation_movement in sub_movement.getDeliveryRelatedValueList(): for simulation_movement in sub_movement.getDeliveryRelatedValueList():
simulation_movement_list.append(simulation_movement) simulation_movement_list.append(simulation_movement)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment