[CLEAN] hr_evaluation: removed unnecessary values in mail.compose.message override.
bzr revid: tde@openerp.com-20120719131933-ncrp9ru0kb2kfg5e
This commit is contained in:
@@ -44,15 +44,9 @@ class mail_compose_message(osv.osv_memory):
|
||||
if record_data.state == "waiting_answer":
|
||||
msg = _("Hello %s, \n\n Kindly post your response for '%s' survey interview. \n\n Thanks,") %(record_data.user_to_review_id.name, record_data.survey_id.title)
|
||||
result.update({
|
||||
'email_from': tools.config.get('email_from',''),
|
||||
'email_to': record_data.user_to_review_id.work_email or False,
|
||||
'subject': _("Reminder to fill up Survey"),
|
||||
'body_text': msg,
|
||||
'res_id': resource_id,
|
||||
'model': model,
|
||||
'email_cc': False,
|
||||
'email_bcc': False,
|
||||
'reply_to': False,
|
||||
})
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user