Commit b3b5a9c1 authored by Aurel's avatar Aurel

add method to manage new properties for portal types and catalog, and

to manage automatic update of catalog and tools


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4908 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d082a85f
This diff is collapsed.
......@@ -37,6 +37,26 @@ class BusinessTemplate:
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_allowed_content_type',
'description' : 'A list of allowed content types for portal types',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_hidden_content_type',
'description' : 'A list of hidden content types for portal types',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_property_sheet',
'description' : 'A list of property sheet for portal types',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_portal_type_base_category',
'description' : 'A list of base categories for portal types',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_module_id',
'description' : 'A list of ids of modules used by this template',
'type' : 'lines',
......@@ -92,6 +112,31 @@ class BusinessTemplate:
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_catalog_keyword_key',
'description' : 'A list of ids of catalog keyword keys used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_catalog_full_text_key',
'description' : 'A list of ids of catalog full text keys used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_catalog_request_key',
'description' : 'A list of ids of catalog request keys used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_catalog_multivalue_key',
'description' : 'A list of ids of catalog multivalue keys used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_catalog_topic_key',
'description' : 'A list of ids of catalog topic keys used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_site_property_id',
'description' : 'A list of ids of site properties used by this template',
'type' : 'lines',
......@@ -123,7 +168,12 @@ class BusinessTemplate:
'mode' : 'w',
'default' : () },
{ 'id' : 'template_message_translation',
'description' : 'A list of message translations by this template',
'description' : 'A list of message translations used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_local_role',
'description' : 'A list of local roles used by this template',
'type' : 'lines',
'mode' : 'w',
'default' : () },
......@@ -156,6 +206,16 @@ class BusinessTemplate:
'type' : 'lines',
'mode' : 'w',
'default' : () },
{ 'id' : 'template_update_business_template_workflow',
'description' : 'A flag indicating if we have to update business template workflows',
'type' : 'boolean',
'mode' : 'w',
'default' : 0 },
{ 'id' : 'template_update_tool',
'description' : 'A flag indicating if we have to update tools',
'type' : 'boolean',
'mode' : 'w',
'default' : 0 },
)
_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