mirror of https://github.com/OCA/web.git
[IMP] web_send_message_popup: black, isort, prettier
parent
428c1d1ff4
commit
dadc246b95
|
@ -0,0 +1 @@
|
||||||
|
../../../../web_send_message_popup
|
|
@ -0,0 +1,6 @@
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
|
@ -1,15 +1,15 @@
|
||||||
/* Copyright 2019-2021 Camptocamp SA
|
/* Copyright 2019-2021 Camptocamp SA
|
||||||
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
|
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
|
||||||
odoo.define("web_send_message_popup.Chatter", function(require) {
|
odoo.define("web_send_message_popup.Chatter", function (require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Chatter = require("mail.Chatter");
|
var Chatter = require("mail.Chatter");
|
||||||
|
|
||||||
Chatter.include({
|
Chatter.include({
|
||||||
_onOpenComposerMessage: function() {
|
_onOpenComposerMessage: function () {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
var self = this;
|
var self = this;
|
||||||
this._suggestedPartnersProm.then(function() {
|
this._suggestedPartnersProm.then(function () {
|
||||||
self._composer._onOpenFullComposer();
|
self._composer._onOpenFullComposer();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue