[IMP] mail_tracking: black, isort, prettier
This commit is contained in:
parent
a4f3acc3cf
commit
021689d073
@ -284,7 +284,7 @@ class MailMessage(models.Model):
|
|||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def get_failed_count(self):
|
def get_failed_count(self):
|
||||||
""" Gets the number of failed messages used on discuss mailbox item"""
|
"""Gets the number of failed messages used on discuss mailbox item"""
|
||||||
return self.search_count([("is_failed_message", "=", True)])
|
return self.search_count([("is_failed_message", "=", True)])
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
odoo.define("mail_tracking/static/src/js/failed_message/mail_failed_box.js", function (
|
odoo.define(
|
||||||
require
|
"mail_tracking/static/src/js/failed_message/mail_failed_box.js",
|
||||||
) {
|
function (require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const chatter = require("mail/static/src/components/chatter/chatter.js");
|
const chatter = require("mail/static/src/components/chatter/chatter.js");
|
||||||
@ -72,4 +72,5 @@ odoo.define("mail_tracking/static/src/js/failed_message/mail_failed_box.js", fun
|
|||||||
MessageFailedBox,
|
MessageFailedBox,
|
||||||
});
|
});
|
||||||
return MessageFailedBox;
|
return MessageFailedBox;
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
1
setup/mail_tracking/odoo/addons/mail_tracking
Symbolic link
1
setup/mail_tracking/odoo/addons/mail_tracking
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../mail_tracking
|
6
setup/mail_tracking/setup.py
Normal file
6
setup/mail_tracking/setup.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user