[IMP] crm,crm_claim,crm_helpdesk,hr_recruitment,project_issue,project_mailgate: improvement in message_new()
bzr revid: rha@tinyerp.com-20110502065849-19nilmvniw28n8ts
This commit is contained in:
parent
76b0bb0137
commit
96a33521da
|
@ -378,6 +378,10 @@ class crm_lead(crm_case, osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
|
||||
return res_id
|
||||
|
|
|
@ -215,6 +215,10 @@ class crm_claim(crm.crm_case, osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
|
||||
return res_id
|
||||
|
|
|
@ -138,6 +138,10 @@ class crm_helpdesk(crm.crm_case, osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
|
||||
return res_id
|
||||
|
|
|
@ -338,6 +338,10 @@ class hr_applicant(crm.crm_case, osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
|
||||
return res_id
|
||||
|
|
|
@ -420,6 +420,10 @@ class project_issue(crm.crm_case, osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
self.convert_to_bug(cr, uid, [res_id], context=context)
|
||||
return res_id
|
||||
|
|
|
@ -65,6 +65,10 @@ class project_tasks(osv.osv):
|
|||
references = msg.get('references', False) or msg.get('in-reply-to', False),
|
||||
attach = attachments,
|
||||
email_date = msg.get('date'),
|
||||
body_html= msg.get('body_html'),
|
||||
sub_type = msg.get('sub_type'),
|
||||
headers = msg.get('headers'),
|
||||
priority = msg.get('priority', False),
|
||||
context = context)
|
||||
|
||||
return res_id
|
||||
|
|
Loading…
Reference in New Issue