diff --git a/base_user_role/README.rst b/base_user_role/README.rst index 59364ee62..eec424847 100644 --- a/base_user_role/README.rst +++ b/base_user_role/README.rst @@ -14,13 +14,13 @@ User roles :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github - :target: https://github.com/OCA/server-backend/tree/13.0/base_user_role + :target: https://github.com/OCA/server-backend/tree/14.0/base_user_role :alt: OCA/server-backend .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_user_role + :target: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_user_role :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/253/13.0 + :target: https://runbot.odoo-community.org/runbot/253/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -93,7 +93,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -111,6 +111,7 @@ Contributors * Sébastien Alix * Duc, Dao Dong (https://komit-consulting.com) * Jean-Charles Drubay (https://komit-consulting.com) +* Alan Ramos (https://www.jarsa.com.mx) Do not contact contributors directly about support or help with technical issues. @@ -149,6 +150,6 @@ Current `maintainers `__: |maintainer-sebalix| |maintainer-jcdrubay| |maintainer-novawish| -This module is part of the `OCA/server-backend `_ project on GitHub. +This module is part of the `OCA/server-backend `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_user_role/__manifest__.py b/base_user_role/__manifest__.py index 75671f3e9..1f924b3c6 100644 --- a/base_user_role/__manifest__.py +++ b/base_user_role/__manifest__.py @@ -4,7 +4,7 @@ { "name": "User roles", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Tools", "author": "ABF OSIELL, Odoo Community Association (OCA)", "license": "LGPL-3", diff --git a/base_user_role/models/role.py b/base_user_role/models/role.py index f6ed6676e..495a5b66d 100644 --- a/base_user_role/models/role.py +++ b/base_user_role/models/role.py @@ -32,6 +32,7 @@ class ResUsersRole(models.Model): default=lambda cls: cls.env.ref("base_user_role.ir_module_category_role").id, string="Associated category", help="Associated group's category", + readonly=False, ) @api.depends("line_ids.user_id") diff --git a/base_user_role/readme/CONTRIBUTORS.rst b/base_user_role/readme/CONTRIBUTORS.rst index ed5062023..828fac31a 100644 --- a/base_user_role/readme/CONTRIBUTORS.rst +++ b/base_user_role/readme/CONTRIBUTORS.rst @@ -1,5 +1,6 @@ * Sébastien Alix * Duc, Dao Dong (https://komit-consulting.com) * Jean-Charles Drubay (https://komit-consulting.com) +* Alan Ramos (https://www.jarsa.com.mx) Do not contact contributors directly about support or help with technical issues. diff --git a/base_user_role/static/description/index.html b/base_user_role/static/description/index.html index fb8ae694e..067d435d4 100644 --- a/base_user_role/static/description/index.html +++ b/base_user_role/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/server-backend Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/server-backend Translate me on Weblate Try me on Runbot

This module was written to extend the standard functionality regarding users and groups management. It helps creating well-defined user roles and associating them to users.

@@ -439,7 +439,7 @@ and then associate users to it.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -456,6 +456,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Sébastien Alix <sebastien.alix@camptocamp.com>
  • Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
  • Jean-Charles Drubay <jc@komit-consulting.com> (https://komit-consulting.com)
  • +
  • Alan Ramos <alan.ramos@jarsa.com.mx> (https://www.jarsa.com.mx)
  • Do not contact contributors directly about support or help with technical issues.

    @@ -477,7 +478,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

    Current maintainers:

    sebalix jcdrubay novawish

    -

    This module is part of the OCA/server-backend project on GitHub.

    +

    This module is part of the OCA/server-backend project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/base_user_role/tests/test_user_role.py b/base_user_role/tests/test_user_role.py index 9dd9a0a49..703372356 100644 --- a/base_user_role/tests/test_user_role.py +++ b/base_user_role/tests/test_user_role.py @@ -187,7 +187,7 @@ class TestUserRole(TransactionCase): } ) # Check that user does not have any groups - self.assertEquals(self.user_id.groups_id, self.env["res.groups"].browse()) + self.assertEqual(self.user_id.groups_id, self.env["res.groups"].browse()) def test_user_role_same_company(self): self.user_id.write({"company_id": self.company1.id})