[Erp5-report] r10904 - /erp5/trunk/products/ERP5Type/Base.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 24 10:43:52 CEST 2006
Author: alex
Date: Tue Oct 24 10:43:50 2006
New Revision: 10904
URL: http://svn.erp5.org?rev=10904&view=rev
Log:
added getVisibleAllowedContentTypeList method to Base, to prevent acquisition
from parent Folder.
Modified:
erp5/trunk/products/ERP5Type/Base.py
Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=10904&r1=10903&r2=10904&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Tue Oct 24 10:43:50 2006
@@ -2015,6 +2015,13 @@
"""
return []
+ security.declarePublic('getVisibleAllowedContentTypeList')
+ def getVisibleAllowedContentTypeList(self):
+ """
+ List portal_types which can be added in this folder / object.
+ """
+ return []
+
security.declareProtected(Permissions.View, 'getBinaryData')
def getBinaryData(self):
"""
More information about the Erp5-report
mailing list