Commit 05ba9afc authored by Romain Courteaud's avatar Romain Courteaud

ERP5SIte: fixup

parent 575a72b3
......@@ -148,7 +148,7 @@ def addERP5Tool(portal, id, portal_type):
import erp5.portal_type
klass = getattr(erp5.portal_type, portal_type)
obj = klass()
obj.setTitle(portal_type)
obj._setTitle(portal_type)
portal._setObject(id, obj)
class ReferCheckerBeforeTraverseHook:
......
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