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
6d0f7dd7
Commit
6d0f7dd7
authored
Jul 01, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Change the context for the python script to get Method list from catalog objects
parent
e3b02a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_catalog_transition/SkinTemplateItem/portal_skins/erp5_core/Catalog_getMethodList.py
...plateItem/portal_skins/erp5_core/Catalog_getMethodList.py
+4
-1
No files found.
bt5/erp5_catalog_transition/SkinTemplateItem/portal_skins/erp5_core/Catalog_getMethodList.py
View file @
6d0f7dd7
method_list
=
context
.
getPortalObject
().
portal_catalog
.
getSQLCatalog
().
Catalog_getCatalogMethodIds
()
# This script should always be called with context as either
# ERP5Catalog object or SQLCatalog.Catalog object
method_list
=
context
.
Catalog_getCatalogMethodIds
()
method_list
=
[
method
[
0
]
for
method
in
method_list
]
return
method_list
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