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
Hardik Juneja
erp5
Commits
63c7037a
Commit
63c7037a
authored
May 13, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BusinessTemplate.py: remove unused modifications added during the developement.
parent
82fcc35c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+0
-5
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
63c7037a
...
...
@@ -5862,10 +5862,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
bt_base_category_list
.
append
(
base_cat_id
)
for
act_id
in
action_list
:
if
act_id
is
None
:
return
(
1
,
self
.
Base_translateString
(
"ERROR: An action has an empty id on portal_type ${id}"
,
mapping
=
dict
(
id
=
id
)))
action_id
=
id
+
' | '
+
act_id
if
action_id
not
in
bt_action_list
:
bt_action_list
.
append
(
action_id
)
...
...
@@ -5890,7 +5886,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
self
.
setTemplatePortalTypePropertySheetList
(
bt_property_sheet_list
)
self
.
setTemplatePortalTypeBaseCategoryList
(
bt_base_category_list
)
self
.
setTemplateActionPathList
(
bt_action_list
)
return
(
0
,
""
)
def
guessPortalTypes
(
self
,
**
kw
):
...
...
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