Commit 719ecb49 authored by Aurel's avatar Aurel

it is necessary to pass the context parameter


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41995 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c4cebef
...@@ -341,7 +341,7 @@ class ExplanationCache: ...@@ -341,7 +341,7 @@ class ExplanationCache:
# XXX-JPS this is only useful for production (MRP) in reality # XXX-JPS this is only useful for production (MRP) in reality
# whenever trade model path define time constraints within the same # whenever trade model path define time constraints within the same
# movement generator (ie. transformation with multiple phases) # movement generator (ie. transformation with multiple phases)
path_list = business_process.getTradeModelPathValueList(trade_phase=trade_phase) path_list = business_process.getTradeModelPathValueList(trade_phase=trade_phase, context=business_process)
LOG('path_list', 0, '%s' % trade_phase) LOG('path_list', 0, '%s' % trade_phase)
if not len(path_list): if not len(path_list):
raise ValueError('No Trade Model Path defines a reference data.') raise ValueError('No Trade Model Path defines a reference data.')
......
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