Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
erp5
Commits
703f396b
Commit
703f396b
authored
Jul 21, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless API (Legacy)
parent
1a1432e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
product/ERP5Configurator/Document/BusinessConfiguration.py
product/ERP5Configurator/Document/BusinessConfiguration.py
+0
-14
No files found.
product/ERP5Configurator/Document/BusinessConfiguration.py
View file @
703f396b
...
...
@@ -415,17 +415,3 @@ class BusinessConfiguration(Item):
# ERP5 Workflow initialization
erp5_workflow
=
self
.
getResourceValue
()
erp5_workflow
.
initializeDocument
(
self
)
def
isStandardBT5
(
self
,
bt5_id
):
"""Is bt5_id standard gzipped bt5 id?
Use ERP5 site portal_templates to get list of bt5_ids from configured
repository. This relies on the fact that the host site have a
configured repository.
"""
# XXX This should be one API from portal_templates
bt5_title_list
=
[]
bt5_title
=
bt5_id
.
split
(
'.'
)[
0
]
for
bt5
in
self
.
getPortalObject
().
portal_templates
\
.
getRepositoryBusinessTemplateList
():
bt5_title_list
.
append
(
bt5
.
getTitle
())
return
bt5_title
in
bt5_title_list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment