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
Laurent S
erp5
Commits
ca134c19
Commit
ca134c19
authored
Jun 01, 2017
by
Tatuya Kamada
Committed by
Ivan Tyagov
Sep 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CallableTool: Add UniqueObject as the inheritance since it is a Tool.
parent
e76964c7
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 @
ca134c19
...
...
@@ -27,8 +27,9 @@
#
##############################################################################
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.CMFCore.utils
import
UniqueObject
class
CallableTool
(
Folder
):
class
CallableTool
(
UniqueObject
,
Folder
):
"""
XXXXX
...
...
@@ -49,4 +50,4 @@ class CallableTool(Folder):
_updateCacheEntry
=
getattr
(
portal_skins
.
aq_base
,
'_updateCacheEntry'
,
None
)
if
_updateCacheEntry
is
None
:
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 @
ca134c19
...
...
@@ -44,8 +44,8 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 4
0
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
0
, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 4
1
, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 4
1
, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
</value>
</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