Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
83c4ae3c
Commit
83c4ae3c
authored
Dec 20, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NotificationTool: use event workflow instead of calling low level send
parent
bff14f7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
product/ERP5/Tool/NotificationTool.py
product/ERP5/Tool/NotificationTool.py
+4
-3
No files found.
product/ERP5/Tool/NotificationTool.py
View file @
83c4ae3c
...
@@ -361,9 +361,10 @@ class NotificationTool(BaseTool):
...
@@ -361,9 +361,10 @@ class NotificationTool(BaseTool):
event_list
.
append
(
event
)
event_list
.
append
(
event
)
for
event
in
event_list
:
for
event
in
event_list
:
# XXX: this uses too low level API, instead event_workflow should be used in case
if
event
.
isTempObject
():
# of persistent ERP5 objects
event
.
send
(
**
low_level_kw
)
event
.
send
(
**
low_level_kw
)
else
:
event
.
start
(
**
low_level_kw
)
return
return
# Future implementation could consist in implementing
# Future implementation could consist in implementing
...
...
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