This PR prepares the ground for the one introducing the new environment in the mail module. Indeed, the mail_bot messaging_initializer relies on the session in order to known when to initiaze odoobot. With the new env, we won't be able to access the session but will instead override init_messaging to automatically initialize odoobot. Doing this first reduces the noise in the main PR. task-2582313 closes odoo/odoo#90291 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
27 lines
656 B
Python
27 lines
656 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'OdooBot',
|
|
'version': '1.2',
|
|
'category': 'Productivity/Discuss',
|
|
'summary': 'Add OdooBot in discussions',
|
|
'website': 'https://www.odoo.com/app/discuss',
|
|
'depends': ['mail'],
|
|
'auto_install': True,
|
|
'installable': True,
|
|
'data': [
|
|
'views/res_users_views.xml',
|
|
'data/mailbot_data.xml',
|
|
],
|
|
'demo': [
|
|
'data/mailbot_demo.xml',
|
|
],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'mail_bot/static/src/scss/odoobot_style.scss',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|