Commit 8b41538e authored by Romain Courteaud's avatar Romain Courteaud

Notify user when Task Report is generated by the builder.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10598 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48dbf379
...@@ -104,11 +104,20 @@ A new task has been assigned to you by %(assignor)s.\n ...@@ -104,11 +104,20 @@ A new task has been assigned to you by %(assignor)s.\n
\n \n
This task is named: %(title)s\n This task is named: %(title)s\n
\n \n
Description: \n
%(comment)s\n
\n
Start Date: %(start_date)s\n
Stop Date: %(stop_date)s\n
\n
Please wisit ERP5: %(url)s\n Please wisit ERP5: %(url)s\n
""" % {\n """ % {\n
\'assignor\': destination_decision_person.getTitle(), \n \'assignor\': destination_decision_person.getTitle(),\n
\'title\' : packing_list.getTitle(),\n \'title\' : packing_list.getTitle(),\n
\'url\' : packing_list.absolute_url(),\n \'url\' : packing_list.absolute_url(),\n
\'comment\' : packing_list.getComment(),\n
\'start_date\': packing_list.getStartDate().Date(),\n
\'stop_date\': packing_list.getStopDate().Date(),\n
}\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, subject="New Task Assigned to You", msg = msg)\n
\n \n
......
...@@ -87,8 +87,8 @@ This task is named: %(title)s\n ...@@ -87,8 +87,8 @@ This task is named: %(title)s\n
Description: \n Description: \n
%(comment)s\n %(comment)s\n
\n \n
Start Date: %(start_date)%\n Start Date: %(start_date)s\n
Stop Date: %(stop_date)%\n Stop Date: %(stop_date)s\n
\n \n
Please wisit ERP5: %(url)s\n Please wisit ERP5: %(url)s\n
""" % {\n """ % {\n
......
96 99
\ No newline at end of file \ 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