[Erp5-report] r28859 - /erp5/trunk/products/ERP5/Document/WebSection.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 7 15:58:05 CEST 2009
Author: kazuhiko
Date: Mon Sep 7 15:58:05 2009
New Revision: 28859
URL: http://svn.erp5.org?rev=28859&view=rev
Log:
support src__ argument in getDocumentValueList().
Modified:
erp5/trunk/products/ERP5/Document/WebSection.py
Modified: erp5/trunk/products/ERP5/Document/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSection.py?rev=28859&r1=28858&r2=28859&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSection.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/WebSection.py [utf8] Mon Sep 7 15:58:05 2009
@@ -273,7 +273,7 @@
if cache is not None:
cache[key] = result
- if result is not None:
+ if result is not None and not kw.get('src__', 0):
result = [doc.__of__(self) for doc in result]
return result
More information about the Erp5-report
mailing list