[Erp5-report] r34374 tatuya - /erp5/trunk/products/ERP5/Document/TradeModelLine.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 8 12:41:22 CEST 2010


Author: tatuya
Date: Thu Apr  8 12:41:19 2010
New Revision: 34374

URL: http://svn.erp5.org?rev=34374&view=rev
Log:
give the context to BusinessPath.getPathValueList method.

Modified:
    erp5/trunk/products/ERP5/Document/TradeModelLine.py

Modified: erp5/trunk/products/ERP5/Document/TradeModelLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TradeModelLine.py?rev=34374&r1=34373&r2=34374&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeModelLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeModelLine.py [utf8] Thu Apr  8 12:41:19 2010
@@ -213,7 +213,7 @@
         # delivery) is took
         business_process = business_process_list[0]
         business_path_list = business_process.getPathValueList(trade_phase=
-            self.getTradePhase())
+            self.getTradePhase(), context=context)
         if len(business_path_list) > 1:
           raise NotImplementedError, 'For now, it can not support more '\
               'than one business_path with same trade_phase. '\




More information about the Erp5-report mailing list