Jairo Llopis 454fab074b [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
2022-08-31 14:17:41 +02:00
2022-08-08 13:29:25 +00:00
2022-08-11 07:19:53 +00:00
2022-08-11 07:19:54 +00:00
2021-10-17 17:06:27 +02:00
2022-03-31 17:37:17 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2021-10-17 17:06:27 +02:00
2022-08-11 12:39:41 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

server-backend

TODO: add repo description.

Available addons

addon version maintainers summary
base_global_discount 15.0.1.0.0 Base Global Discount
base_import_match 15.0.1.0.0 Try to avoid duplicates before importing
base_user_role 15.0.0.2.1 sebalix jcdrubay novawish User roles

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (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%