From 1b46290fd519f545cd35ea4eda2e97f7bbb62b86 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 14 Aug 2006 13:31:47 +0000
Subject: [PATCH] Title of new object has to be initialized to None.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9197 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index e76e66687b..eca3dccbac 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -320,7 +320,7 @@ class DocumentConstructor(Method):
 
     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:
-- 
2.30.9