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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
cd50dc18
Commit
cd50dc18
authored
Sep 22, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: change erp5 bootstrap conf
parent
7c138006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+3
-3
No files found.
product/ERP5/ERP5Site.py
View file @
cd50dc18
...
@@ -2232,7 +2232,7 @@ class ERP5Generator(PortalGenerator):
...
@@ -2232,7 +2232,7 @@ class ERP5Generator(PortalGenerator):
# layer when installing new business templates.
# layer when installing new business templates.
ps
[
'custom'
].
manage_addProperty
(
"business_template_skin_layer_priority"
,
100.0
,
"float"
)
ps
[
'custom'
].
manage_addProperty
(
"business_template_skin_layer_priority"
,
100.0
,
"float"
)
skin_folders
=
', '
.
join
((
'custom'
,
'external_method'
))
skin_folders
=
', '
.
join
((
'custom'
,
'external_method'
))
ps
.
addSkinSelection
(
'View'
ps
.
addSkinSelection
(
'View
JS
'
,
skin_folders
,
skin_folders
,
make_default
=
1
,
make_default
=
1
)
)
...
@@ -2402,8 +2402,8 @@ class ERP5Generator(PortalGenerator):
...
@@ -2402,8 +2402,8 @@ class ERP5Generator(PortalGenerator):
"""
"""
template_tool
=
p
.
portal_templates
template_tool
=
p
.
portal_templates
if
template_tool
.
getInstalledBusinessTemplate
(
'erp5_core'
)
is
None
:
if
template_tool
.
getInstalledBusinessTemplate
(
'erp5_core'
)
is
None
:
for
bt
in
(
'erp5_property_sheets'
,
'erp5_core'
,
p
.
erp5_catalog_storage
,
'erp5_jquery'
,
for
bt
in
(
'erp5_property_sheets'
,
'erp5_core'
,
p
.
erp5_catalog_storage
,
'erp5_
xhtml
_style'
):
'erp5_
renderjs
_style'
):
if
not
bt
:
if
not
bt
:
continue
continue
url
=
getBootstrapBusinessTemplateUrl
(
bt
)
url
=
getBootstrapBusinessTemplateUrl
(
bt
)
...
...
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