Purpose ======= In message_notify, when called on a recordset, call model methods instead of base one defined on MailThread. This allows to use internal methods overrides. Also perform some linting on calls to ``message_notify`` in order to better spot calls, parameters, ... Task-2852908 closes odoo/odoo#92868 Related: odoo/enterprise#28038 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
34 lines
924 B
Python
34 lines
924 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
{
|
|
'name': 'Mail Tests',
|
|
'version': '1.0',
|
|
'category': 'Hidden',
|
|
'sequence': 9876,
|
|
'summary': 'Mail Tests: performances and tests specific to mail',
|
|
'description': """This module contains tests related to mail. Those are
|
|
present in a separate module as it contains models used only to perform
|
|
tests independently to functional aspects of other models. """,
|
|
'depends': [
|
|
'mail',
|
|
'test_performance',
|
|
],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'security/test_mail_security.xml',
|
|
'data/data.xml',
|
|
'data/mail_template_data.xml',
|
|
'data/subtype_data.xml',
|
|
],
|
|
'assets': {
|
|
'web.qunit_suite_tests': [
|
|
'test_mail/static/tests/*',
|
|
],
|
|
'web.tests_assets': [
|
|
'test_mail/static/tests/helpers/*',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
}
|