mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_send_message_popup: black, isort, prettier
This commit is contained in:
1
setup/web_send_message_popup/odoo/addons/web_send_message_popup
Symbolic link
1
setup/web_send_message_popup/odoo/addons/web_send_message_popup
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../web_send_message_popup
|
||||
6
setup/web_send_message_popup/setup.py
Normal file
6
setup/web_send_message_popup/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
@@ -1,15 +1,15 @@
|
||||
/* 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) {
|
||||
odoo.define("web_send_message_popup.Chatter", function (require) {
|
||||
"use strict";
|
||||
|
||||
var Chatter = require("mail.Chatter");
|
||||
|
||||
Chatter.include({
|
||||
_onOpenComposerMessage: function() {
|
||||
_onOpenComposerMessage: function () {
|
||||
this._super.apply(this, arguments);
|
||||
var self = this;
|
||||
this._suggestedPartnersProm.then(function() {
|
||||
this._suggestedPartnersProm.then(function () {
|
||||
self._composer._onOpenFullComposer();
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user