projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1745174
)
[FIX] CRM: suggeste recipint for partner OR email, not both.
author
Thibault Delavallée
<tde@openerp.com>
Fri, 22 Feb 2013 10:14:34 +0000
(11:14 +0100)
committer
Thibault Delavallée
<tde@openerp.com>
Fri, 22 Feb 2013 10:14:34 +0000
(11:14 +0100)
bzr revid: tde@openerp.com-
20130222101434
-moh3clokcbf5gmsw
addons/crm/crm_lead.py
patch
|
blob
|
history
diff --git
a/addons/crm/crm_lead.py
b/addons/crm/crm_lead.py
index
028e126
..
6d00ac1
100644
(file)
--- a/
addons/crm/crm_lead.py
+++ b/
addons/crm/crm_lead.py
@@
-966,7
+966,7
@@
class crm_lead(base_stage, format_address, osv.osv):
for lead in self.browse(cr, uid, ids, context=context):
if lead.partner_id:
self._message_add_suggested_recipient(recipients, lead, partner=lead.partner_id, reason=_('Customer'))
- if lead.email_from:
+ elif lead.email_from:
self._message_add_suggested_recipient(recipients, lead, email=lead.email_from, reason=_('Customer Email'))
return recipients