Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
ecb09a0d
Commit
ecb09a0d
authored
Oct 31, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preserve notification_message's category and language into a generated event document.
parent
4e7217eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
product/ERP5/Tool/PasswordTool.py
product/ERP5/Tool/PasswordTool.py
+6
-1
No files found.
product/ERP5/Tool/PasswordTool.py
View file @
ecb09a0d
...
...
@@ -198,9 +198,14 @@ class PasswordTool(BaseTool):
else
:
message
=
notification_message
.
asText
(
substitution_method_parameter_dict
=
message_dict
)
event_keyword_argument_dict
=
{
'resource'
:
notification_message
.
getSpecialise
(),
'language'
:
notification_message
.
getLanguage
(),
}
self
.
getPortalObject
().
portal_notifications
.
sendMessage
(
sender
=
sender
,
recipient
=
[
user
,],
subject
=
subject
,
message
=
message
,
store_as_event
=
store_as_event
)
store_as_event
=
store_as_event
,
event_keyword_argument_dict
=
event_keyword_argument_dict
)
if
REQUEST
is
not
None
:
msg
=
translateString
(
"An email has been sent to you."
)
parameter
=
urlencode
(
dict
(
portal_status_message
=
msg
))
...
...
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