Commit 2245792d authored by Jérome Perrin's avatar Jérome Perrin

Generated emails to notify a task report was still using "comment" instead of "decsription".

Change the email subject to:
"[ERP5 Task] %s" % task.getTitle()

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20852 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a49e023
......@@ -108,7 +108,7 @@ A new task has been assigned to you by %(assignor)s.\n
This task is named: %(title)s\n
\n
Description: \n
%(comment)s\n
%(description)s\n
\n
Start Date: %(start_date)s\n
Stop Date: %(stop_date)s\n
......@@ -119,11 +119,12 @@ Please wisit ERP5: %(url)s\n
\'title\' : packing_list.getTitle(),\n
\'url\' : \'%s/%s/view\' % (packing_list.ERP5Site_getAbsoluteUrl(),\n
packing_list.getRelativeUrl()),\n
\'comment\' : packing_list.getComment(),\n
\'description\' : packing_list.getDescription(),\n
\'start_date\': packing_list.getStartDate().Date(),\n
\'stop_date\': packing_list.getStopDate().Date(),\n
}\n
email.activate().send(from_url = from_email, subject="New Task Assigned to You", msg = msg)\n
email.activate().send(from_url = from_email,\n
subject="[ERP5 Task] %s" % packing_list.getTitle(), msg = msg)\n
\n
# Then, modify state\n
confirm_tag = \'%s_confirm\' % packing_list.getPath()\n
......
481
\ No newline at end of file
482
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment