Commit ef2a2086 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

drop legacy simulation hierarchy support in BPM, that has not worked perfectly anyway.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34659 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7fd0f630
...@@ -378,10 +378,6 @@ class BusinessPath(Path, Predicate): ...@@ -378,10 +378,6 @@ class BusinessPath(Path, Predicate):
root_applied_rule_list = [] root_applied_rule_list = []
delivery_simulation_movement_list = portal_catalog( delivery_simulation_movement_list = portal_catalog(
delivery_uid=[x.getUid() for x in explanation.getMovementList()]) delivery_uid=[x.getUid() for x in explanation.getMovementList()])
# 'order' category is deprecated. it is kept for compatibility.
if len(delivery_simulation_movement_list) == 0:
delivery_simulation_movement_list = portal_catalog(
order_uid=[x.getUid() for x in explanation.getMovementList()])
for simulation_movement in delivery_simulation_movement_list: for simulation_movement in delivery_simulation_movement_list:
applied_rule = simulation_movement.getRootAppliedRule() applied_rule = simulation_movement.getRootAppliedRule()
......
This diff is collapsed.
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