projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde5003
)
[IMP] CRM: when processing incoming emails to create a lead, do not add the email...
author
Thibault Delavallée
<tde@openerp.com>
Thu, 7 Mar 2013 15:32:16 +0000
(16:32 +0100)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 7 Mar 2013 15:32:16 +0000
(16:32 +0100)
bzr revid: tde@openerp.com-
20130307153216
-hab124jnmcmj3dm8
addons/crm/crm_lead.py
patch
|
blob
|
history
diff --git
a/addons/crm/crm_lead.py
b/addons/crm/crm_lead.py
index
e5d07b2
..
e8bba67
100644
(file)
--- a/
addons/crm/crm_lead.py
+++ b/
addons/crm/crm_lead.py
@@
-975,12
+975,10
@@
class crm_lead(base_stage, format_address, osv.osv):
through message_process.
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 ''
+ if custom_values is None:
+ custom_values = {}
defaults = {
'name': msg.get('subject') or _("No Subject"),
- 'description': desc,
'email_from': msg.get('from'),
'email_cc': msg.get('cc'),
'partner_id': msg.get('author_id', False),