Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
05a7136c
Commit
05a7136c
authored
Sep 07, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Use isIndexingRequired as the attribute for erp5-site
parent
20174619
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+2
-2
No files found.
product/ERP5/ERP5Site.py
View file @
05a7136c
...
...
@@ -237,11 +237,11 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
last_id
=
0
icon
=
'portal.gif'
# Default value, prevents error during upgrade
isIndexable
=
ConstantGetter
(
'isIndexable'
,
value
=
True
)
# There can remain a lot a activities to be processed once all BT5 are
# installed, and scalability tests want a reliable way to know when the site
# is ready to be tortured.
isPortalBeingCreated
=
ConstantGetter
(
'isPortalBeingCreated'
,
value
=
False
)
isIndexingRequired
=
ConstantGetter
(
'isIndexingRequired'
,
value
=
True
)
_properties
=
(
{
'id'
:
'title'
,
...
...
@@ -1885,7 +1885,7 @@ class ERP5Generator(PortalGenerator):
portal
=
self
.
klass
(
id
=
id
)
# Make sure reindex will not be called until business templates
# will be installed
setattr
(
portal
,
'isIndex
able'
,
ConstantGetter
(
'isIndexable
'
,
value
=
False
))
setattr
(
portal
,
'isIndex
ingRequired'
,
ConstantGetter
(
'isIndexingRequired
'
,
value
=
False
))
# This is only used to refine log level.
# Has no functional use, and should never have any:
...
...
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