Commit 0f641d6d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use path of applied rule here to use as "'%s/%%' % applied_rule".


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34672 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 756067f3
......@@ -380,10 +380,9 @@ class BusinessPath(Path, Predicate):
delivery_uid=[x.getUid() for x in explanation.getMovementList()])
for simulation_movement in delivery_simulation_movement_list:
applied_rule = simulation_movement.getRootAppliedRule()
applied_rule = simulation_movement.getRootAppliedRule().getPath()
if applied_rule not in root_applied_rule_list:
root_applied_rule_list.append(
simulation_movement.getRootAppliedRule())
root_applied_rule_list.append(applied_rule)
simulation_movement_list = portal_catalog(
portal_type='Simulation Movement', causality_uid=self.getUid(),
......
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