diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-02-26 13:50:38 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-02-26 13:50:38 +0100 |
| commit | d2e1ff39cc55b91c396b05981808b8a3df655a5a (patch) | |
| tree | 0de18f51b5ae6b4e48b19a5a7c4da6547e73ce90 /addons/mail/static/src/js | |
| parent | c5e395ec499688a566d203551ff02c470bd6b6bf (diff) | |
[IMP] Chatter: full wizard composer does not display recipients in 'log' mode.
bzr revid: tde@openerp.com-20130226125038-bgpmfrmt3v44i870
Diffstat (limited to 'addons/mail/static/src/js')
| -rw-r--r-- | addons/mail/static/src/js/mail.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index bb200aedf95..9d9f07671e6 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -545,6 +545,9 @@ openerp.mail = function (session) { 'default_attachment_ids': self.attachment_ids, 'default_partner_ids': partner_ids, }; + if (self.is_log) { + _.extend(context, {'mail_compose_log': true}); + } if (default_composition_mode != 'reply' && self.context.default_model && self.context.default_res_id) { context.default_model = self.context.default_model; context.default_res_id = self.context.default_res_id; |
