Commit 7ca84732 authored by Aurel's avatar Aurel

do not retrieve causality uid if it was already provided

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5ecb2e9
...@@ -99,6 +99,7 @@ class BPMBuilder(Alarm): ...@@ -99,6 +99,7 @@ class BPMBuilder(Alarm):
self.callBeforeBuildingScript() self.callBeforeBuildingScript()
# Select movements # Select movements
if input_movement_list is None: if input_movement_list is None:
if not select_method_dict.has_key('causality_uid'):
business_path_value_list = self.getRelatedBusinessPathValueList() business_path_value_list = self.getRelatedBusinessPathValueList()
if len(business_path_value_list) > 0: if len(business_path_value_list) > 0:
# use only Business Path related movements # use only Business Path related movements
......
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