diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-02-21 14:09:00 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-02-21 14:09:00 +0100 |
| commit | e09eb34a36ce7fb28e0d7ae1c92ae2da51f4ce53 (patch) | |
| tree | 2b9f5a4d9f32a18cc5e0d82f8cc0a0e945118262 /addons/mail/wizard/mail_compose_message.py | |
| parent | e7c630a18f676155f6083a9cf73bbd9a1fad2310 (diff) | |
[IMP] mail: auto_follow mechanism moved into message_post.
bzr revid: tde@openerp.com-20130221130900-5l9wu6jrqh3l5yar
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index ecfeeb36a4e..3617bd76463 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -215,9 +215,6 @@ class mail_compose_message(osv.TransientModel): new_attachments = email_dict.pop('attachments', []) post_values['attachments'] += new_attachments post_values.update(email_dict) - # automatically subscribe recipients if asked to - if context.get('mail_post_autofollow') and wizard.model and post_values.get('partner_ids'): - active_model_pool.message_subscribe(cr, uid, [res_id], post_values.get('partner_ids'), context=context) # post the message active_model_pool.message_post(cr, uid, [res_id], type='comment', subtype='mt_comment', context=context, **post_values) |
