Jairo Llopis 7a111ecefe [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-28 15:55:10 +01:00
2024-05-01 17:19:13 +00:00
2024-11-21 10:19:31 +00:00
2024-05-01 17:19:13 +00:00
2022-10-03 22:05:15 +02:00
2023-10-27 23:41:32 +02:00
2022-10-03 22:05:15 +02:00
2024-05-01 17:19:13 +00:00
2022-10-03 22:05:15 +02:00
2024-05-01 17:19:13 +00:00
2022-10-03 22:05:15 +02:00
2023-10-27 23:41:32 +02:00
2023-10-27 23:41:32 +02:00
2022-10-03 22:05:15 +02:00
2025-01-20 15:31:35 +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 16.0.1.0.1 External Database Sources
base_external_dbsource_mssql 16.0.1.1.0 anddago78 External Database Source - MSSQL
base_external_dbsource_mysql 16.0.1.0.0 External Database Source - MySQL
base_external_dbsource_sqlite 16.0.1.0.2 anddago78 External Database Source - SQLite
base_external_system 16.0.1.0.0 Data models allowing for connection to external systems.
base_global_discount 16.0.1.1.0 Base Global Discount
base_group_backend 16.0.1.1.0 FranzPoize bealdav Group backend
base_import_match 16.0.1.0.0 Try to avoid duplicates before importing
base_portal_type 16.0.1.0.0 hbrunn Base module to allow different types of portals
base_user_effective_permissions 16.0.1.0.0 hbrunn Inspect effective permissions applying to a user
base_user_role 16.0.1.4.1 sebalix jcdrubay novawish User roles
base_user_role_company 16.0.1.2.0 User roles by company
base_user_role_history 16.0.1.0.0 ThomasBinsfeld This module allows to track the changes on users roles.
server_action_navigate 16.0.1.0.0 legalsylvain ashishhirpara Navigate between any items of any Odoo Models
server_action_sort 16.0.1.0.0 legalsylvain Sort any lines of any models by any criterias

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%