diff --git a/product/ERP5/Document/BusinessPath.py b/product/ERP5/Document/BusinessPath.py index 06cd250a8adcab04ec9a55569e69aea0ed0a0a66..8dd0ef81e9f7e95f8edfe28a74639e0d34ea3fff 100644 --- a/product/ERP5/Document/BusinessPath.py +++ b/product/ERP5/Document/BusinessPath.py @@ -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(),