[IMP] Change of plan initial mail is application summary but is not updated afterwards

bzr revid: jco@openerp.com-20130129164914-9hhrle1q91hpetmk
This commit is contained in:
Josse Colpaert 2013-01-29 17:49:14 +01:00
parent eb84db7fdf
commit d43b189f09
1 changed files with 2 additions and 3 deletions

View File

@ -346,10 +346,10 @@ class hr_applicant(base_stage, osv.Model):
This override updates the document according to the email.
"""
if custom_values is None: custom_values = {}
#desc = html2plaintext(msg.get('body')) if msg.get('body') else ''
desc = html2plaintext(msg.get('body')) if msg.get('body') else ''
defaults = {
'name': msg.get('subject') or _("No Subject"),
#'description': desc,
'description': desc,
'email_from': msg.get('from'),
'email_cc': msg.get('cc'),
'user_id': False,
@ -371,7 +371,6 @@ class hr_applicant(base_stage, osv.Model):
update_vals = {}
update_vals.update({
#'description': msg.get('body'),
'email_from': msg.get('from'),
'email_cc': msg.get('cc'),
})