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
140
Merge Requests
140
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
4a7c43e8
Commit
4a7c43e8
authored
May 02, 2018
by
Sebastien Robin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alarm Tool: use the new getCurrentNode independent from Activity Tool
parent
c1c87afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/Tool/AlarmTool.py
product/ERP5/Tool/AlarmTool.py
+2
-1
No files found.
product/ERP5/Tool/AlarmTool.py
View file @
4a7c43e8
...
...
@@ -32,6 +32,7 @@ import threading
from
AccessControl
import
ClassSecurityInfo
from
AccessControl.SecurityManagement
import
getSecurityManager
,
\
newSecurityManager
,
setSecurityManager
from
Products.CMFActivity.ActivityTool
import
getCurrentNode
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
,
PersistentMapping
from
Products.ERP5Type.Core.Folder
import
Folder
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
...
...
@@ -164,7 +165,7 @@ class AlarmTool(TimerServiceMixin, BaseTool):
self
.
setupCurrentSkin
(
self
.
REQUEST
)
# only start when we are the alarmNode
alarmNode
=
self
.
getAlarmNode
()
current_node
=
self
.
getCurrentNode
()
current_node
=
getCurrentNode
()
if
alarmNode
==
''
:
self
.
setAlarmNode
(
current_node
)
alarmNode
=
current_node
...
...
Sebastien Robin
@seb
mentioned in merge request
!647 (merged)
·
May 16, 2018
mentioned in merge request
!647 (merged)
mentioned in merge request !647
Toggle commit list
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