Commit 6aaeb324 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Add a portal type to class tool (so that it can have actions for example)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34534 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fed46191
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2002-2009 Nexedi SA and Contributors. All Rights Reserved. # Copyright (c) 2002-2009 Nexedi SA and Contributors. All Rights Reserved.
...@@ -251,6 +252,7 @@ if allowClassTool(): ...@@ -251,6 +252,7 @@ if allowClassTool():
""" """
id = 'portal_classes' id = 'portal_classes'
meta_type = 'ERP5 Class Tool' meta_type = 'ERP5 Class Tool'
portal_type = 'Class Tool'
# Declarative Security # Declarative Security
security = ClassSecurityInfo() security = ClassSecurityInfo()
...@@ -1094,6 +1096,7 @@ else: ...@@ -1094,6 +1096,7 @@ else:
""" """
id = 'portal_classes' id = 'portal_classes'
meta_type = 'ERP5 Dummy Class Tool' meta_type = 'ERP5 Dummy Class Tool'
portal_type = 'Dummy Class Tool'
# Declarative Security # Declarative Security
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
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