[MIG] web_send_message_popup: Migration to 13.0

This commit is contained in:
Stephane Mangin
2021-02-04 12:33:08 +01:00
committed by Du-ma
parent 089c30973a
commit 978856f2cc
6 changed files with 10 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright 2019 Camptocamp SA
/* Copyright 2019-2021 Camptocamp SA
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
odoo.define("web_send_message_popup.Chatter", function(require) {
"use strict";
@@ -8,12 +8,10 @@ odoo.define("web_send_message_popup.Chatter", function(require) {
Chatter.include({
_onOpenComposerMessage: function() {
this._super.apply(this, arguments);
this.suggested_partners_def.done(
$.proxy(function() {
this._closeComposer(true);
this._composer._onOpenFullComposer();
}, this)
);
var self = this;
this._suggestedPartnersProm.then(function() {
self._composer._onOpenFullComposer();
});
},
});
});