mirror of https://github.com/OCA/web.git
[MIG] web_send_message_popup: Migration to 13.0
parent
fe63594d3f
commit
9b78310497
|
@ -1,13 +1,13 @@
|
|||
# Copyright 2014-2019 Camptocamp SA
|
||||
# Copyright 2014-2021 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Web Send Message as Popup",
|
||||
"version": "12.0.1.0.0",
|
||||
"version": "13.0.1.0.0",
|
||||
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||
"maintainer": "Camptocamp",
|
||||
"license": "AGPL-3",
|
||||
"category": "Hidden",
|
||||
"depends": ["web", "mail",],
|
||||
"depends": ["web", "mail"],
|
||||
"website": "https://github.com/OCA/web",
|
||||
"data": ["templates/assets.xml",],
|
||||
"data": ["templates/assets.xml"],
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
@ -1,14 +0,0 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
@ -2,3 +2,4 @@
|
|||
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
|
||||
* Nicolas JEUDY <https://github.com/njeudy>
|
||||
* Artem Kostyuk <a.kostyuk@mobilunity.com>
|
||||
* Stéphane Mangin <stephane.mangin@camptocamp.com>
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue