diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-03-20 16:08:55 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-03-20 16:08:55 +0100 |
| commit | 2bc87a67ebf282aa33b6164fc832ce5f6b3ca241 (patch) | |
| tree | eb267be4634c918a3864e7ab6a28b06d107c3081 /addons | |
| parent | 97a6372937bace64d037af58afb04ab5945befd5 (diff) | |
[IMP] mail_group: as they are now mailing list, avoid having automatic
creation message, this is quite ugly.
bzr revid: tde@openerp.com-20140320150855-a0ich2zgzn320wj0
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mail/mail_group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/mail_group.py b/addons/mail/mail_group.py index 5a9f8751f2d..4ae47a96774 100644 --- a/addons/mail/mail_group.py +++ b/addons/mail/mail_group.py @@ -126,7 +126,7 @@ class mail_group(osv.Model): vals['menu_id'] = menu_id # Create group and alias - create_context = dict(context, alias_model_name=self._name, alias_parent_model_name=self._name) + create_context = dict(context, alias_model_name=self._name, alias_parent_model_name=self._name, mail_create_nolog=True) mail_group_id = super(mail_group, self).create(cr, uid, vals, context=create_context) group = self.browse(cr, uid, mail_group_id, context=context) self.pool.get('mail.alias').write(cr, uid, [group.alias_id.id], {"alias_force_thread_id": mail_group_id, 'alias_parent_thread_id': mail_group_id}, context) |
