Browse Source

[FIX] full composer recipients fix

pull/118/merge
ArtyomLosev 7 years ago
committed by Ivan Yelizariev
parent
commit
2f3216acc7
  1. 5
      mail_private/static/src/js/mail_private.js

5
mail_private/static/src/js/mail_private.js

@ -137,10 +137,13 @@ MailComposer.include({
default_attachment_ids: _.pluck(self.get('attachment_ids'), 'id'),
default_partner_ids: partner_ids,
default_is_log: self.options.is_log,
default_is_private: self.options && self.options.is_private,
mail_post_autofollow: true,
};
if (self.options && self.options.is_private) {
context.default_is_private = self.options.is_private;
}
if (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;

Loading…
Cancel
Save