Jairo Llopis cdf3c5695b [FIX] base_user_role: Improve tests resiliency
These 2 tests were checking the exact set of groups a user should have.

If these tests are ran in a database where a module is previously installed which adds more groups to the base role, these exact group sets would be inexact, although the behavior that is being tested was actually properly working.

With this patch, basically I'm testing if the user contains the groups from the roles, not the exact role set expected. It should work in integration scenarios.

@Tecnativa TT20468
2021-07-29 14:20:57 +02:00
2021-04-26 13:55:35 +00:00
2021-05-19 18:27:49 +00:00
2021-05-19 18:27:50 +00:00
2020-10-08 21:48:02 +02:00
2020-10-08 21:48:02 +02:00
2021-05-14 19:29:14 +02:00
2020-10-08 21:48:02 +02:00
2021-05-14 19:29:14 +02:00
2020-11-01 22:29:25 +01:00
2020-12-11 20:17:29 +01:00
2020-10-08 21:48:02 +02:00
2020-10-08 21:48:02 +02:00
2020-10-08 21:48:02 +02:00
2021-05-19 18:27:48 +00:00

Runbot Status Build Status codecov Translation Status

server-backend

TODO: add repo description.

Available addons

addon version summary
base_import_match 14.0.1.0.0 Try to avoid duplicates before importing
base_user_role 14.0.2.1.1 User roles
base_user_role_company 14.0.1.0.0 User roles by company

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
No description provided
Readme 129 MiB
Languages
HTML 51.4%
Python 48.6%