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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yusei Tahara
erp5
Commits
a3567803
Commit
a3567803
authored
Jan 18, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_prototype: No need to hardcode bp name and use is_package param
parent
4f549e06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+1
-4
No files found.
product/ERP5/ERP5Site.py
View file @
a3567803
...
@@ -2410,11 +2410,8 @@ class ERP5Generator(PortalGenerator):
...
@@ -2410,11 +2410,8 @@ class ERP5Generator(PortalGenerator):
p
.
erp5_catalog_storage
,
'erp5_jquery'
,
'erp5_xhtml_style'
):
p
.
erp5_catalog_storage
,
'erp5_jquery'
,
'erp5_xhtml_style'
):
if
not
bt
:
if
not
bt
:
continue
continue
is_package
=
False
if
bt
==
'erp5_mysql_innodb_catalog'
:
is_package
=
True
url
=
getBootstrapBusinessTemplateUrl
(
bt
)
url
=
getBootstrapBusinessTemplateUrl
(
bt
)
bt
=
template_tool
.
download
(
url
,
is_package
=
is_package
)
bt
=
template_tool
.
download
(
url
)
bt
.
install
(
**
kw
)
bt
.
install
(
**
kw
)
def
setupERP5Promise
(
self
,
p
,
**
kw
):
def
setupERP5Promise
(
self
,
p
,
**
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