Commit 9e3af3d7 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added portal_type in class def


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@480 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 292c6f90
......@@ -42,6 +42,7 @@ class CategoryTool( CategoryTool ):
id = 'portal_categories'
meta_type = 'ERP5 Categories'
portal_type = 'Category Tool'
allowed_types = ( 'ERP5 Base Category',)
# Declarative Security
......
......@@ -45,6 +45,7 @@ class IdTool(UniqueObject, Folder):
"""
id = 'portal_ids'
meta_type = 'ERP5 Id Tool'
portal_type = 'Id Tool'
allowed_types = ( 'ERP5 Order Rule', 'ERP5 Transformation Rule',)
# Declarative Security
......
......@@ -59,6 +59,7 @@ class InterpolationTool (UniqueObject):
"""
id = 'portal_interactions'
meta_type = 'ERP5 Interaction Tool'
portal_type = 'Interpolation Tool'
security = ClassSecurityInfo()
manage_options = ( { 'label' : 'Overview', 'action' : 'manage_overview' }
......
......@@ -83,6 +83,7 @@ class RuleTool (UniqueObject, Folder):
"""
id = 'portal_rules'
meta_type = 'ERP5 Rule Tool'
portal_type = 'Rule Tool'
allowed_types = ( 'ERP5 Order Rule', 'ERP5 Transformation Rule', 'ERP5 Zero Stock Rule', 'ERP5 Delivery Rule')
# Declarative Security
......
......@@ -89,6 +89,7 @@ class SimulationTool (Folder, UniqueObject):
"""
id = 'portal_simulation'
meta_type = 'ERP5 Simulation Tool'
portal_type = 'Simulation Tool'
allowed_types = ( 'ERP5 Applied Rule', )
# Declarative Security
......
......@@ -96,8 +96,8 @@ class TemplateTool (BaseTool):
"""
id = 'portal_templates'
meta_type = 'ERP5 Template Tool'
allowed_types = ( 'ERP5 Business Template',)
portal_type = 'Template Tool'
allowed_types = ( 'ERP5 Business Template',)
# Declarative Security
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