Commit 9fddccd2 authored by Jérome Perrin's avatar Jérome Perrin

remove spaces at end of line and fix a typo



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20398 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1eee113b
......@@ -35,7 +35,7 @@ from zLOG import LOG, WARNING
class OrderRule(DeliveryRule):
"""
Order Rule object make sure an Order in the similation
Order Rule object make sure an Order in the simulation
is consistent with the real order
WARNING: what to do with movement split ?
......@@ -109,7 +109,8 @@ class OrderRule(DeliveryRule):
related_order = order_movement_dict.get(movement.getPath(), None)
if related_order is None:
related_order = movement.getOrderRelatedValue()
property_dict = self._getExpandablePropertyDict(applied_rule, movement)
property_dict = self._getExpandablePropertyDict(
applied_rule, movement)
if related_order is None:
# Generate a simulation movement
# Do not try to create meaningfull IDs, as order movement can be
......@@ -191,3 +192,4 @@ class OrderRule(DeliveryRule):
property_dict[prop] = movement.getProperty(prop)
return property_dict
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