[Erp5-report] r18250 - /erp5/trunk/products/ERP5/Document/Agent.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 11 17:34:38 CET 2007
Author: jerome
Date: Tue Dec 11 17:34:38 2007
New Revision: 18250
URL: http://svn.erp5.org?rev=18250&view=rev
Log:
set `content_type` property, because it's also a method from a parent class,
and the type is considered as invalid for PropertyTypeValidity constraint.
Modified:
erp5/trunk/products/ERP5/Document/Agent.py
Modified: erp5/trunk/products/ERP5/Document/Agent.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Agent.py?rev=18250&r1=18249&r2=18250&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Agent.py (original)
+++ erp5/trunk/products/ERP5/Document/Agent.py Tue Dec 11 17:34:38 2007
@@ -58,6 +58,9 @@
, PropertySheet.Agent
)
+ # content_type property is also a method from PortalFolder, so we need a
+ # valid type by default.
+ content_type = ''
def __init__(self, *args, **kw):
Folder.__init__(self, *args, **kw)
More information about the Erp5-report
mailing list