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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 14 15:31:49 CEST 2006


Author: romain
Date: Mon Aug 14 15:31:47 2006
New Revision: 9197

URL: http://svn.erp5.org?rev=9197&view=rev
Log:
Title of new object has to be initialized to None.

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=9197&r1=9196&r2=9197&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Utils.py (original)
+++ erp5/trunk/products/ERP5Type/Utils.py Mon Aug 14 15:31:47 2006
@@ -320,7 +320,7 @@
 
     def __call__(self, folder, id, REQUEST=None,
                  activate_kw=None, is_indexable=None, **kw):
-      o = self.klass(id)
+      o = self.klass(id, title=None)
       if activate_kw is not None:
         o._v_activate_kw = activate_kw
       if is_indexable is not None:




More information about the Erp5-report mailing list