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
1460c40d
Commit
1460c40d
authored
Jul 19, 2017
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also reindex ERP5 Form in portal_skins
parent
f986a1ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
...emplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
+3
-3
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
View file @
1460c40d
...
...
@@ -134,9 +134,9 @@ for folder in tool_list:
start_tree
=
start_tree
,
stop_tree
=
stop_tree
,)
# Then we index ERP5 Python Scripts
print
"#### Indexing ERP5 Python Scripts ####"
for
path
,
obj
in
portal
.
portal_skins
.
ZopeFind
(
portal
.
portal_skins
,
obj_metatypes
=
(
'ERP5 Python Script'
,
),
search_sub
=
1
):
# Then we index ERP5 Python Scripts
and ERP5 Form
print
"#### Indexing ERP5 Python Scripts
and ERP5 Forms
####"
for
_
,
obj
in
portal
.
portal_skins
.
ZopeFind
(
portal
.
portal_skins
,
obj_metatypes
=
(
'ERP5 Python Script'
,
'ERP5 Form'
),
search_sub
=
1
):
obj
.
activate
(
tag
=
folder_tag
,
priority
=
object_priority
,
after_tag
=
folder_after_tag
).
immediateReindexObject
(
sql_catalog_id
=
sql_catalog_id
)
...
...
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