Skip to content
Snippets Groups Projects
Commit 0389b304 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] mail: fixe issue with suggested recipients introduced with new views

Somewhere in the new views refactoring, between file splitting and rpc
engine quadruple refactoring, a deferred was lost. Due to this chatter
does not have correct information about message recipients.

This commit fixes it by putting the deferred back.
parent 8bf4cf11
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ var ChatterComposer = composer.BasicComposer.extend({
var new_names_to_find = _.difference(names_to_find, names_to_remove);
var def;
if (new_names_to_find.length > 0) {
self._rpc({
def = self._rpc({
model: self.model,
method: 'message_partner_info_from_emails',
args: [[self.context.default_res_id], new_names_to_find, true],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment