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:
f8121be
)
[FIX] crm : crm send mail wizard
author
Harry (Open ERP)
<hmo@tinyerp.com>
Thu, 18 Mar 2010 12:43:28 +0000
(18:13 +0530)
committer
Harry (Open ERP)
<hmo@tinyerp.com>
Thu, 18 Mar 2010 12:43:28 +0000
(18:13 +0530)
bzr revid: hmo@tinyerp.com-
20100318124328
-or62rj1re35n5hfu
addons/crm/wizard/wizard_crm_send_email.py
patch
|
blob
|
history
diff --git
a/addons/crm/wizard/wizard_crm_send_email.py
b/addons/crm/wizard/wizard_crm_send_email.py
index
d6b3732
..
6501bf8
100644
(file)
--- a/
addons/crm/wizard/wizard_crm_send_email.py
+++ b/
addons/crm/wizard/wizard_crm_send_email.py
@@
-56,11
+56,7
@@
def _mass_mail_send(self, cr, uid, data, context):
model = hist_obj.log_id.model_id.model
model_pool = pool.get(model)
case = model_pool.browse(cr, uid, hist_obj.log_id.res_id)
- model_pool._history(cr, uid, [case], _('Send'), history=True, email=False)
- model_pool.write(cr, uid, [case.id], {
- 'som': False,
- 'canal_id': False,
- })
+ model_pool._history(cr, uid, [case], _('Send'), history=True, email=False)
emails = [data['form']['to']] + (data['form']['cc'] or '').split(',')
emails = filter(None, emails)
body = data['form']['text']