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