[IMP] Chatter: full wizard composer does not display recipients in 'log' mode.

bzr revid: tde@openerp.com-20130226125038-bgpmfrmt3v44i870
This commit is contained in:
Thibault Delavallée
2013-02-26 13:50:38 +01:00
parent c5e395ec49
commit d2e1ff39cc
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -235,7 +235,7 @@
word-spacing: 3px;
cursor: text;
}
.openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_record{
.openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_record {
font-size: 13px;
font-style: bold;
text-align: center;
+3
View File
@@ -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;