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
Bryan Kaperick
erp5
Commits
2ad364f4
Commit
2ad364f4
authored
Sep 04, 2017
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc string.
parent
e3d3e6ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.py
...plateItem/portal_components/document.erp5.CallableTool.py
+4
-3
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.xml
...lateItem/portal_components/document.erp5.CallableTool.xml
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.py
View file @
2ad364f4
...
@@ -27,13 +27,14 @@
...
@@ -27,13 +27,14 @@
#
#
##############################################################################
##############################################################################
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.CMFCore.utils
import
UniqueObject
from
Products.CMFCore.utils
import
UniqueObject
class
CallableTool
(
UniqueObject
,
Folder
):
class
CallableTool
(
UniqueObject
,
Folder
):
"""
"""
XXXXX
A tool that can be used to add scripts and other callable methods (including
ZSQL templates and HTML templates) to ERP5. It replaces portal_skins.
"""
"""
id
=
'portal_callables'
id
=
'portal_callables'
meta_type
=
'ERP5 Callable Tool'
meta_type
=
'ERP5 Callable Tool'
portal_type
=
'Callable Tool'
portal_type
=
'Callable Tool'
...
...
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.xml
View file @
2ad364f4
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
W: 4
1
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
2
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
1
, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 4
2
, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
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