From 8ecc23ff8303b693a37328db5b30ea2327ca01ee Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 16 Apr 2010 18:55:59 +0000 Subject: [PATCH] no need to check delivery's causality related applied rule, because it should be the root applied rule of one of its movements' delivery related simulation movements. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34630 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessPath.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/Document/BusinessPath.py b/product/ERP5/Document/BusinessPath.py index 0d9633741a..a3412d9bcd 100644 --- a/product/ERP5/Document/BusinessPath.py +++ b/product/ERP5/Document/BusinessPath.py @@ -374,8 +374,7 @@ class BusinessPath(Path, Predicate): As business sequence is not related to simulation tree need to built full simulation trees per applied rule """ - root_applied_rule_list = [explanation.getCausalityRelatedValueList( - portal_type='Applied Rule')] + root_applied_rule_list = [] delivery_simulation_movement_list = [] for movement in explanation.getMovementList(): simulation_movement_list = movement.getDeliveryRelatedValueList( -- 2.30.9