Commit c0bb63a2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

using delivery=xxx instead of delivery_value=xxx because delivery can be included in kw.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32213 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b7ccb82
......@@ -106,11 +106,12 @@ class DeliveryRuleMovementGenerator(MovementGeneratorMixin):
._getInputMovementAndPathTupleList(context):
kw = self._getPropertyAndCategoryList(input_movement, business_path,
rule)
input_movement_url = input_movement.getRelativeUrl()
kw.update({'order':input_movement_url,
'delivery':input_movement_url})
simulation_movement = context.newContent(
portal_type=RuleMixin.movement_type,
temp_object=True,
order_value=input_movement,
delivery_value=input_movement,
**kw)
ret.append(simulation_movement)
return ret
......
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