[Erp5-report] r13810 - /erp5/trunk/products/ERP5Type/Utils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 30 10:07:54 CEST 2007


Author: yo
Date: Fri Mar 30 10:07:53 2007
New Revision: 13810

URL: http://svn.erp5.org?rev=13810&view=rev
Log:
Get back isIndexable setting in the document constructor.

Modified:
    erp5/trunk/products/ERP5Type/Utils.py

Modified: erp5/trunk/products/ERP5Type/Utils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Utils.py?rev=13810&r1=13809&r2=13810&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Utils.py (original)
+++ erp5/trunk/products/ERP5Type/Utils.py Fri Mar 30 10:07:53 2007
@@ -334,6 +334,8 @@
       o = self.klass(id)
       if activate_kw is not None:
         o.setDefaultActivateParameters(**activate_kw)
+      if is_indexable is not None:   
+        o.isIndexable = is_indexable
       folder._setObject(id, o)
       o = folder._getOb(id)
       # if no activity tool, the object has already an uid




More information about the Erp5-report mailing list