Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
erp5
Commits
03c93944
Commit
03c93944
authored
Sep 28, 2016
by
Klaus Wölfel
Committed by
Xiaowu Zhang
Feb 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add portal callables
parent
7fdb9088
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
278 additions
and
0 deletions
+278
-0
bt5/erp5_callables/ActionTemplateItem/portal_types/Callable%20Tool/view.xml
.../ActionTemplateItem/portal_types/Callable%20Tool/view.xml
+81
-0
bt5/erp5_callables/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+6
-0
bt5/erp5_callables/PortalTypeTemplateItem/portal_types/Callable%20Tool.xml
...s/PortalTypeTemplateItem/portal_types/Callable%20Tool.xml
+121
-0
bt5/erp5_callables/ToolTemplateItem/portal_callables.xml
bt5/erp5_callables/ToolTemplateItem/portal_callables.xml
+60
-0
bt5/erp5_callables/bt/change_log
bt5/erp5_callables/bt/change_log
+1
-0
bt5/erp5_callables/bt/description
bt5/erp5_callables/bt/description
+1
-0
bt5/erp5_callables/bt/template_action_path_list
bt5/erp5_callables/bt/template_action_path_list
+1
-0
bt5/erp5_callables/bt/template_format_version
bt5/erp5_callables/bt/template_format_version
+1
-0
bt5/erp5_callables/bt/template_portal_type_allowed_content_type_list
...llables/bt/template_portal_type_allowed_content_type_list
+2
-0
bt5/erp5_callables/bt/template_portal_type_id_list
bt5/erp5_callables/bt/template_portal_type_id_list
+1
-0
bt5/erp5_callables/bt/template_tool_id_list
bt5/erp5_callables/bt/template_tool_id_list
+1
-0
bt5/erp5_callables/bt/title
bt5/erp5_callables/bt/title
+1
-0
bt5/erp5_callables/bt/version
bt5/erp5_callables/bt/version
+1
-0
No files found.
bt5/erp5_callables/ActionTemplateItem/portal_types/Callable%20Tool/view.xml
0 → 100644
View file @
03c93944
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/CallableTool_viewCallableList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_callables/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
0 → 100644
View file @
03c93944
<allowed_content_type_list>
<portal_type
id=
"Callable Tool"
>
<item>
PyData Script
</item>
<item>
Python Script
</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
bt5/erp5_callables/PortalTypeTemplateItem/portal_types/Callable%20Tool.xml
0 → 100644
View file @
03c93944
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_property_domain_dict
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
content_meta_type
</string>
</key>
<value>
<string>
ERP5Type Folder
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
A Tool that gradually replaces portal_skins. For now, it can contain Python Scripts that can be defined by users.
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addFolder
</string>
</value>
</item>
<item>
<key>
<string>
filter_content_types
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Callable Tool
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
CallableTool
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
short_title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_callables/ToolTemplateItem/portal_callables.xml
0 → 100644
View file @
03c93944
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Callable Tool"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
portal_callables
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Callable Tool
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_callables/bt/change_log
0 → 100644
View file @
03c93944
2016-09-28 Initial
\ No newline at end of file
bt5/erp5_callables/bt/description
0 → 100644
View file @
03c93944
Provides Portal Callables
\ No newline at end of file
bt5/erp5_callables/bt/template_action_path_list
0 → 100644
View file @
03c93944
Callable Tool | view
\ No newline at end of file
bt5/erp5_callables/bt/template_format_version
0 → 100644
View file @
03c93944
1
\ No newline at end of file
bt5/erp5_callables/bt/template_portal_type_allowed_content_type_list
0 → 100644
View file @
03c93944
Callable Tool | PyData Script
Callable Tool | Python Script
\ No newline at end of file
bt5/erp5_callables/bt/template_portal_type_id_list
0 → 100644
View file @
03c93944
Callable Tool
\ No newline at end of file
bt5/erp5_callables/bt/template_tool_id_list
0 → 100644
View file @
03c93944
portal_callables
\ No newline at end of file
bt5/erp5_callables/bt/title
0 → 100644
View file @
03c93944
erp5_callables
\ No newline at end of file
bt5/erp5_callables/bt/version
0 → 100644
View file @
03c93944
001
\ No newline at end of file
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