Jairo Llopis ae6e2c3909 [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
2025-01-17 10:03:57 +01:00
2024-05-01 17:19:32 +00:00
2024-05-01 17:19:32 +00:00
2023-11-12 16:09:37 +01:00
2023-11-12 16:09:37 +01:00
2023-11-12 16:09:37 +01:00
2024-05-01 17:19:32 +00:00
2023-11-12 16:09:37 +01:00
2023-11-12 16:09:37 +01:00
2023-11-12 16:09:37 +01:00
2024-05-01 17:19:32 +00:00
2023-11-12 16:09:37 +01:00
2024-08-27 08:22:06 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

server-backend

Mainly base modules used by others

Available addons

addon version maintainers summary
base_external_dbsource 17.0.1.0.0 External Database Sources
base_external_dbsource_sqlite 17.0.1.0.0 anddago78 External Database Source - SQLite
base_global_discount 17.0.1.0.0 Base Global Discount
base_user_role 17.0.1.1.1 sebalix jcdrubay novawish User roles
base_user_role_company 17.0.1.1.1 User roles by company
base_user_role_history 17.0.1.0.0 ThomasBinsfeld This module allows to track the changes on users 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%