In v12, the hr module did not have a hard dependency on mail_bot, so the users could uninstall it if they did not want/need its functionality. In v13, mail_bot was added as a dependency to include the notification widget and the odoobot state in the user forms modified by the hr module. However, this also brings potentially unwanted functionality to anyone who installs an hr related application. This commit removes the dependency on mail_bot by adding the mail_bot_hr bridge module, which provides integration between mail_bot and hr if both modules are installed.
17 lines
511 B
Python
17 lines
511 B
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': "mail_bot_hr",
|
|
'summary': """Bridge module between hr and mailbot.""",
|
|
'description': """This module adds the OdooBot state and notifications in the user form modified by hr.""",
|
|
'website': "https://www.odoo.com/page/discuss",
|
|
'category': 'Productivity/Discuss',
|
|
'version': '1.0',
|
|
'depends': ['mail_bot', 'hr'],
|
|
'application': False,
|
|
'installable': True,
|
|
'auto_install': True,
|
|
'data': [
|
|
'views/res_users_views.xml',
|
|
],
|
|
}
|