Commit ab3498e9 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Renamed two properties for consistency with naming conventions. Kept...

Renamed two properties for consistency with naming conventions. Kept compatibility with current status.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27089 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a117ffc8
......@@ -211,12 +211,14 @@ class BusinessTemplate:
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_local_roles',
{ 'id' : 'template_local_role',
'storage_id' : 'template_local_roles', # Kept for compatibility
'description' : 'A list of local roles used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_roles',
{ 'id' : 'template_portal_type_role',
'storage_id' : 'template_portal_type_roles', # Kept for compatibility
'description' : 'A list of ERP5Types for which we want to add the roles in the template',
'type' : 'lines',
'mode' : 'w',
......@@ -280,6 +282,17 @@ class BusinessTemplate:
'type' : 'boolean',
'mode' : 'w',
'default' : 0 },
# Kept for compatibility - will be removed some day
{ 'id' : 'template_local_roles',
'description' : 'A list of local roles used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_roles',
'description' : 'A list of ERP5Types for which we want to add the roles in the template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
)
_categories = ( )
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