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
Tatuya Kamada
erp5
Commits
10f77173
Commit
10f77173
authored
Jul 21, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless method
This method comes from previous Implementation.
parent
cfa56286
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
product/ERP5Configurator/Document/BusinessConfiguration.py
product/ERP5Configurator/Document/BusinessConfiguration.py
+0
-16
No files found.
product/ERP5Configurator/Document/BusinessConfiguration.py
View file @
10f77173
...
@@ -360,22 +360,6 @@ class BusinessConfiguration(Item):
...
@@ -360,22 +360,6 @@ class BusinessConfiguration(Item):
global_configuration_attributes
=
getattr
(
self
,
'_global_configuration_attributes'
,
{})
global_configuration_attributes
=
getattr
(
self
,
'_global_configuration_attributes'
,
{})
return
global_configuration_attributes
.
get
(
key
,
default
)
return
global_configuration_attributes
.
get
(
key
,
default
)
security
.
declareProtected
(
Permissions
.
View
,
'getBuiltBusinessConfigurationBT5List'
)
def
getBuiltBusinessConfigurationBT5List
(
self
):
"""
Get list of built business templates in a Wizard format.
"""
bt5_file_list
=
[]
for
bt_link
in
self
.
contentValues
(
portal_type
=
"Link"
):
bt5_item
=
dict
(
bt5_id
=
bt_link
.
getUrlString
(),
bt5_filedata
=
""
)
bt5_file_list
.
append
(
bt5_item
)
for
bt_file
in
self
.
contentValues
(
portal_type
=
"File"
):
bt5_item
=
dict
(
bt5_id
=
bt_file
.
getId
(),
bt5_filedata
=
bt_file
.
getData
())
bt5_file_list
.
append
(
bt5_item
)
return
bt5_file_list
############# Instance and Business Configuration ########################
############# Instance and Business Configuration ########################
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'buildConfiguration'
)
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'buildConfiguration'
)
...
...
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