Commit fe89ccd1 authored by Ayush Tiwari's avatar Ayush Tiwari

Business Template V2: Change name from Business Manager to Business Commit V2

parent cede04bb
...@@ -109,8 +109,8 @@ class TemplateTool (BaseTool): ...@@ -109,8 +109,8 @@ class TemplateTool (BaseTool):
meta_type = 'ERP5 Template Tool' meta_type = 'ERP5 Template Tool'
portal_type = 'Template Tool' portal_type = 'Template Tool'
allowed_content_types = [ allowed_content_types = [
'Business Manager',
'Business Template', 'Business Template',
'Business Template V2',
] ]
# This stores information on repositories. # This stores information on repositories.
...@@ -360,7 +360,7 @@ class TemplateTool (BaseTool): ...@@ -360,7 +360,7 @@ class TemplateTool (BaseTool):
"""Download Business Template from local directory or file """Download Business Template from local directory or file
""" """
if format_version == 3: if format_version == 3:
bm = self.newContent(bt_id, 'Business Manager') bm = self.newContent(bt_id, 'Business Template V2')
bm.importFile(path) bm.importFile(path)
return bm return bm
......
...@@ -54,12 +54,12 @@ from Tool import CategoryTool, SimulationTool, RuleTool, IdTool, TemplateTool,\ ...@@ -54,12 +54,12 @@ from Tool import CategoryTool, SimulationTool, RuleTool, IdTool, TemplateTool,\
CertificateAuthorityTool, InotifyTool, TaskDistributionTool,\ CertificateAuthorityTool, InotifyTool, TaskDistributionTool,\
DiffTool, CommitTool DiffTool, CommitTool
import ERP5Site import ERP5Site
from Document import PythonScript, BusinessManager from Document import PythonScript, BusinessTemplateV2
object_classes = ( ERP5Site.ERP5Site, object_classes = ( ERP5Site.ERP5Site,
PythonScript.PythonScriptThroughZMI, PythonScript.PythonScriptThroughZMI,
BusinessManager.BusinessItem, BusinessTemplateV2.BusinessItem,
BusinessManager.BusinessPropertyItem, BusinessTemplateV2.BusinessPropertyItem,
BusinessManager.BusinessPatchItem, BusinessTemplateV2.BusinessPatchItem,
) )
portal_tools = ( CategoryTool.CategoryTool, portal_tools = ( CategoryTool.CategoryTool,
SimulationTool.SimulationTool, SimulationTool.SimulationTool,
......
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