Commit 1b46290f authored by Romain Courteaud's avatar Romain Courteaud

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
parent 28c64533
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment