Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
b02aa675
Commit
b02aa675
authored
Jan 17, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_prototype: Use is_package while installing erp5_mysql_innodb
parent
4c327d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+6
-3
No files found.
product/ERP5/ERP5Site.py
View file @
b02aa675
...
...
@@ -2406,12 +2406,15 @@ class ERP5Generator(PortalGenerator):
"""
template_tool
=
p
.
portal_templates
if
template_tool
.
getInstalledBusinessTemplate
(
'erp5_core'
)
is
None
:
for
bt
in
(
'erp5_property_sheets'
,
'erp5_core'
,
p
.
erp5_catalog_storage
,
'erp5_jquery
'
,
'erp5_xhtml_style'
):
for
bt
in
(
'erp5_property_sheets'
,
'erp5_core'
,
'erp5_business_package
'
,
p
.
erp5_catalog_storage
,
'erp5_jquery'
,
'erp5_xhtml_style'
):
if
not
bt
:
continue
is_package
=
False
if
bt
==
'erp5_mysql_innodb_catalog'
:
is_package
=
True
url
=
getBootstrapBusinessTemplateUrl
(
bt
)
bt
=
template_tool
.
download
(
url
)
bt
=
template_tool
.
download
(
url
,
is_package
=
is_package
)
bt
.
install
(
**
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