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
d0824633
Commit
d0824633
authored
Jul 13, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Add Portal Script portal_type in allowed_types for ERP5 Catalog
parent
1a4f2a69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
product/ERP5/bootstrap/erp5_catalog_transition/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+3
-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 @
d0824633
<allowed_content_type_list>
<portal_type
id=
"Catalog"
>
<item>
Python Script
</item>
</portal_type>
<portal_type
id=
"Catalog Tool"
>
<item>
Catalog
</item>
</portal_type>
...
...
product/ERP5/bootstrap/erp5_catalog_transition/bt/template_portal_type_allowed_content_type_list
View file @
d0824633
Catalog Tool | Catalog
\ No newline at end of file
Catalog Tool | Catalog
Catalog | Python Script
\ No newline at end of file
product/ERP5Catalog/ERP5Catalog.py
View file @
d0824633
...
...
@@ -52,7 +52,7 @@ class ERP5Catalog(Folder, Catalog):
meta_type
=
"ERP5 Catalog"
portal_type
=
'Catalog'
allowed_types
=
()
allowed_types
=
(
'Python Script'
,
)
#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