Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
Roque
wendelin
Commits
33636898
Commit
33636898
authored
May 11, 2020
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After setup set proper title to avoid confusing user what is setup-ed.
parent
910bd42c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
bt5/erp5_wendelin_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wendelin/BusinessConfiguration_afterWendelinConfiguration.py
...delin/BusinessConfiguration_afterWendelinConfiguration.py
+3
-0
No files found.
bt5/erp5_wendelin_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wendelin/BusinessConfiguration_afterWendelinConfiguration.py
View file @
33636898
...
@@ -13,6 +13,9 @@ if default_site_preference is not None:
...
@@ -13,6 +13,9 @@ if default_site_preference is not None:
if
default_site_preference
.
getPreferenceState
()
==
"disabled"
:
if
default_site_preference
.
getPreferenceState
()
==
"disabled"
:
default_site_preference
.
enable
()
default_site_preference
.
enable
()
# set title of portal
portal
.
setTitle
(
"Wendelin"
)
# enable automatic approval of Credential Requests only if erp5_wendelin_data_lake is installed
# enable automatic approval of Credential Requests only if erp5_wendelin_data_lake is installed
if
portal
.
portal_templates
.
getInstalledBusinessTemplate
(
"erp5_wendelin_data_lake_ingestion"
,
strict
=
True
)
is
not
None
:
if
portal
.
portal_templates
.
getInstalledBusinessTemplate
(
"erp5_wendelin_data_lake_ingestion"
,
strict
=
True
)
is
not
None
:
default_system_preference
=
getattr
(
portal
.
portal_preferences
,
default_system_preference
=
getattr
(
portal
.
portal_preferences
,
...
...
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