Commit 3a2ff909 authored by Romain Courteaud's avatar Romain Courteaud

[ERP5/ERP5Site] Set Tool's titles

parent 5e3fcebe
......@@ -148,6 +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)
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