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
a3189124
Commit
a3189124
authored
Jul 15, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp_catalog: Add SQL Method portal_type in allowed_types for ERP5Catalog class
parent
3167be81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
product/ERP5/bootstrap/erp5_catalog_transition/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+1
-0
product/ERP5/bootstrap/erp5_catalog_transition/bt/template_portal_type_allowed_content_type_list
...nsition/bt/template_portal_type_allowed_content_type_list
+2
-1
product/ERP5Catalog/ERP5Catalog.py
product/ERP5Catalog/ERP5Catalog.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_catalog_transition/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
a3189124
<allowed_content_type_list>
<portal_type
id=
"Catalog"
>
<item>
Python Script
</item>
<item>
SQL Method
</item>
</portal_type>
<portal_type
id=
"Catalog Tool"
>
<item>
Catalog
</item>
...
...
product/ERP5/bootstrap/erp5_catalog_transition/bt/template_portal_type_allowed_content_type_list
View file @
a3189124
Catalog Tool | Catalog
Catalog | Python Script
\ No newline at end of file
Catalog | Python Script
Catalog | SQL Method
\ No newline at end of file
product/ERP5Catalog/ERP5Catalog.py
View file @
a3189124
...
...
@@ -52,7 +52,7 @@ class ERP5Catalog(Folder, Catalog):
meta_type
=
"ERP5 Catalog"
portal_type
=
'Catalog'
allowed_types
=
(
'Python Script'
,)
allowed_types
=
(
'Python Script'
,
'SQL Method'
,
)
#TODO(low priority): Add an icon to display at ERP5 Zope interface
icon
=
None
# Activate isRADContent cause we need to generate accessors and default values
...
...
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