diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index d69757b9d63d8fabb454007a4e241d32e703ef68..ff1d3669bd44aab7069213f46a21bb39ae5e2499 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -346,7 +346,7 @@ Business Template is a set of definitions, such as skins, portal types and categ , { 'id' : 'history' , 'name' : 'History' , 'category' : 'object_view' - , 'action' : 'history_view' + , 'action' : 'Base_viewHistory' , 'permissions' : ( Permissions.View, ) } @@ -360,7 +360,7 @@ Business Template is a set of definitions, such as skins, portal types and categ , { 'id' : 'metadata' , 'name' : 'Metadata' , 'category' : 'object_view' - , 'action' : 'metadata_view' + , 'action' : 'Base_viewMetadata' , 'permissions' : ( Permissions.ManageProperties, ) } diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index 6705fb4ae7ec0c84526378fb18a503939c52dc6d..2d8a8f1286920f5e3ced79b67d6a312effd643de 100755 --- a/product/ERP5/Tool/TemplateTool.py +++ b/product/ERP5/Tool/TemplateTool.py @@ -89,7 +89,7 @@ TemplateTool manages Business Templates.""" , 'icon' : 'folder_icon.gif' , 'product' : 'ERP5Type' , 'factory' : 'addFolder' - , 'immediate_view' : 'folder_contents' + , 'immediate_view' : 'Folder_viewContentList' , 'allow_discussion' : 1 , 'allowed_content_types': ('Business Template', ) @@ -99,7 +99,7 @@ TemplateTool manages Business Templates.""" ( { 'id' : 'view' , 'name' : 'View' , 'category' : 'object_view' - , 'action' : 'folder_contents' + , 'action' : 'Folder_viewContentList' , 'permissions' : ( Permissions.View, ) } diff --git a/product/ERP5/skins/erp5_core/BusinessTemplate_export.py b/product/ERP5/skins/erp5_core/BusinessTemplate_export.py index 2f3fd90f9e34255d1a999cd9e48bef19cb496c47..8801c10803bd580edc9990913140aba726b3a70f 100755 --- a/product/ERP5/skins/erp5_core/BusinessTemplate_export.py +++ b/product/ERP5/skins/erp5_core/BusinessTemplate_export.py @@ -11,7 +11,7 @@ REQUEST=context.REQUEST RESPONSE=REQUEST.RESPONSE context.build() -s = context.portal_templates.manage_exportObject(id=context.getId(), toxml=toxml, download=1, +s = context.portal_templates.manage_exportObject(id=context.getId(), toxml=toxml, Base_download=1, REQUEST=REQUEST, RESPONSE=RESPONSE) return s diff --git a/product/ERP5/skins/erp5_core/BusinessTemplate_install.py b/product/ERP5/skins/erp5_core/BusinessTemplate_install.py index 65e7022f305cc4d9772fdf4eb014ffa364b55f0d..c31d7ae7d88dfbe52b5e5afda6a23b4b3d44a7ec 100755 --- a/product/ERP5/skins/erp5_core/BusinessTemplate_install.py +++ b/product/ERP5/skins/erp5_core/BusinessTemplate_install.py @@ -1,4 +1,4 @@ -## Script (Python) "BusinessTemplate_build" +## Script (Python) "BusinessTemplate_install" ##bind container=container ##bind context=context ##bind namespace= diff --git a/product/ERP5/skins/erp5_core/BusinessTemplate_view.form b/product/ERP5/skins/erp5_core/BusinessTemplate_view.form index e01e055813c574bd207eae41c0a7996af04e61b3..bde56733aa5e041eb1d3306e2662f7d0ab28c29b 100755 --- a/product/ERP5/skins/erp5_core/BusinessTemplate_view.form +++ b/product/ERP5/skins/erp5_core/BusinessTemplate_view.form @@ -5,7 +5,7 @@ <row_length>4</row_length> <name>BusinessTemplate_view</name> <pt>form_view</pt> - <action>base_edit</action> + <action>Base_edit</action> <update_action></update_action> <method>POST</method> <enctype>multipart/form-data</enctype> @@ -620,4 +620,4 @@ </fields> </group> </groups> -</form> +</form> \ No newline at end of file