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
Labels
Merge Requests
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
ee29beac
Commit
ee29beac
authored
Jun 01, 2017
by
Tatuya Kamada
Committed by
Ivan Tyagov
Jul 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CallableTool: Add UniqueObject as the inheritance since it is a Tool.
parent
45812023
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 @
ee29beac
...
@@ -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 @
ee29beac
...
@@ -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