Commit a004ec92 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

using order=xxx instead of order_value=xxx because order can be included in kw.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32224 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a9a0d1a
......@@ -106,10 +106,11 @@ class OrderRuleMovementGenerator(MovementGeneratorMixin):
._getInputMovementAndPathTupleList(context):
kw = self._getPropertyAndCategoryList(input_movement, business_path,
rule)
input_movement_url = input_movement.getRelativeUrl()
kw.update({'order':input_movement_url})
simulation_movement = context.newContent(
portal_type=RuleMixin.movement_type,
temp_object=True,
order_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