Files
server-backend/base_user_role/__manifest__.py
Daniel Reis 295eb5af44 [FIX] base_user_role: ensure Channel autosubscription logic is applied
It could be the case where ``mail`` Channel autosubscription logic would
run before the Role logic added new groups to the User.
In that case, the autosubscrition logic would fail to apply.

Adding the ``mail`` dependency ensures this does not happen.

While the ``mail`` module in not required for the Role features,
it is a reasonable dependency to add, since it will be already
present in the vast majority of Odoo installations.
2020-06-02 11:34:48 +01:00

27 lines
737 B
Python

# Copyright 2014 ABF OSIELL <http://osiell.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "User roles",
"version": "12.0.2.0.0",
"category": "Tools",
"author": "ABF OSIELL, Odoo Community Association (OCA)",
"license": "AGPL-3",
"maintainers": ["ABF OSIELL", "jcdrubay"],
"website": "https://github.com/OCA/server-backend",
"depends": [
"base",
# Ensure Channel autosubscription logic runs
# after Groups are assigned
"mail",
],
"data": [
"security/ir.model.access.csv",
"data/ir_cron.xml",
"data/ir_module_category.xml",
"views/role.xml",
"views/user.xml",
],
"installable": True,
}