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
Ludovic Kiefer
erp5
Commits
029bdcac
Commit
029bdcac
authored
Jun 01, 2017
by
Tatuya Kamada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CallableTool: Add UniqueObject as the inheritance since it is a Tool.
parent
06bcba88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.py
...plateItem/portal_components/document.erp5.CallableTool.py
+3
-2
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 @
029bdcac
...
@@ -27,8 +27,9 @@
...
@@ -27,8 +27,9 @@
#
#
##############################################################################
##############################################################################
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.CMFCore.utils
import
UniqueObject
class
CallableTool
(
Folder
):
class
CallableTool
(
UniqueObject
,
Folder
):
"""
"""
XXXXX
XXXXX
...
@@ -49,4 +50,4 @@ class CallableTool(Folder):
...
@@ -49,4 +50,4 @@ class CallableTool(Folder):
_updateCacheEntry
=
getattr
(
portal_skins
.
aq_base
,
'_updateCacheEntry'
,
None
)
_updateCacheEntry
=
getattr
(
portal_skins
.
aq_base
,
'_updateCacheEntry'
,
None
)
if
_updateCacheEntry
is
None
:
if
_updateCacheEntry
is
None
:
return
return
_updateCacheEntry
(
self
.
id
,
id
)
_updateCacheEntry
(
self
.
id
,
id
)
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.xml
View file @
029bdcac
...
@@ -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
0
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
1
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
0
, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 4
1
, 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