Commit 6733484f authored by Tatuya Kamada's avatar Tatuya Kamada

give the context to BusinessPath.getPathValueList method.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34374 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ea1b7a5
...@@ -213,7 +213,7 @@ class TradeModelLine(Predicate, XMLMatrix, Amount): ...@@ -213,7 +213,7 @@ class TradeModelLine(Predicate, XMLMatrix, Amount):
# delivery) is took # delivery) is took
business_process = business_process_list[0] business_process = business_process_list[0]
business_path_list = business_process.getPathValueList(trade_phase= business_path_list = business_process.getPathValueList(trade_phase=
self.getTradePhase()) self.getTradePhase(), context=context)
if len(business_path_list) > 1: if len(business_path_list) > 1:
raise NotImplementedError, 'For now, it can not support more '\ raise NotImplementedError, 'For now, it can not support more '\
'than one business_path with same trade_phase. '\ 'than one business_path with same trade_phase. '\
......
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