Commit Graph

142 Commits

Author SHA1 Message Date
Víctor Martínez
57cdd88868 [IMP] base_user_role: Improve tests to avoid false errors (ids in different order) 2025-01-28 14:30:35 +01:00
Sébastien Alix
45ba0950b9 fixup! [FIX] base_user_role: Improve tests resiliency 2025-01-28 14:05:08 +01:00
Jairo Llopis
3ed821be69 [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 14:05:08 +01:00
OCA-git-bot
6646b73334 [BOT] post-merge updates 2024-07-31 07:00:58 +00:00
Laurent Stukkens
6ce2d3d3f9 [FIX] base_user_role: prevent crash when using 'res.users' (x2m) fields in forms 2024-07-31 08:53:59 +02:00
mymage
8296728be9 Translated using Weblate (Italian)
Currently translated at 100.0% (65 of 65 strings)

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/it/
2024-07-15 09:58:48 +00:00
Weblate
a7e8bdc95c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/
2024-07-10 16:45:57 +00:00
OCA-git-bot
214e386578 [BOT] post-merge updates 2024-07-10 16:45:49 +00:00
oca-ci
3a3101d36f [UPD] Update base_user_role.pot 2024-07-10 16:44:04 +00:00
Jesus Ramoneda
b7578b9034 [IMP] base_user_role: Adding alert in user when role is used 2024-06-21 20:28:00 +00:00
jakobkrabbe
fe74ac99ed Translated using Weblate (Swedish)
Currently translated at 100.0% (62 of 62 strings)

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/sv/
2024-06-12 11:45:35 +00:00
OCA-git-bot
7a821c5348 [BOT] post-merge updates 2024-04-09 10:30:52 +00:00
Dawn Hwang
576f4aa07b [FIX] base_user_role: Set group on access_wizard_groups_into_role
From 17.0 onwards, any access right rule with set permissions must have
a group on it, otherwise it will throw a warning on install
2024-04-04 10:46:47 +02:00
mymage
b230874ced Translated using Weblate (Italian)
Currently translated at 100.0% (62 of 62 strings)

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/it/
2024-03-06 10:37:01 +00:00
mymage
2efc7ea4e9 Translated using Weblate (Italian)
Currently translated at 100.0% (62 of 62 strings)

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/it/
2024-02-15 15:34:29 +00:00
Ivorra78
a14edea011 Translated using Weblate (Spanish)
Currently translated at 100.0% (62 of 62 strings)

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/es/
2024-02-14 20:36:19 +00:00
Weblate
0470787b8e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-17.0/server-backend-17.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_user_role/
2024-02-09 11:52:12 +00:00
OCA-git-bot
5f127382fc [BOT] post-merge updates 2024-02-09 10:11:56 +00:00
oca-ci
e153c5eb7d [UPD] Update base_user_role.pot 2024-02-09 10:10:14 +00:00
ArnauCForgeFlow
caab8fa2fa [15.0][IMP] base_user_role: action to group groups into a role 2024-01-30 13:07:10 +01:00
Adam Heinz
0da74f5b92 [15.0][IMP] base_user_role: Add role_ids column to tree view.
The role_ids field is already searchable in list view, now it is
also displayed.
2023-12-14 07:50:10 +01:00
Raf Ven
8e44a19b47 [MIG] base_user_role: Migration to 17.0 2023-12-13 15:00:48 +01:00
Raf Ven
39cfe98978 [IMP] base_user_role: pre-commit stuff 2023-12-13 14:47:44 +01:00
Ivorra78
3dab837e5f Translated using Weblate (Spanish)
Currently translated at 100.0% (59 of 59 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/es/
2023-12-13 14:47:22 +01:00
Weblate
ba2436525d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/
2023-12-13 14:47:22 +01:00
OCA-git-bot
04441eb3a5 [UPD] README.rst 2023-12-13 14:47:22 +01:00
OCA-git-bot
b7d35def1a base_user_role 16.0.1.2.2 2023-12-13 14:47:22 +01:00
oca-ci
74a8524f00 [UPD] Update base_user_role.pot 2023-12-13 14:47:22 +01:00
Jérémy Didderen
952e152b68 base_user_role - add (copy) in order to allow the duplicate 2023-12-13 14:47:22 +01:00
Francesco Foresti
98c3441862 Translated using Weblate (Italian)
Currently translated at 27.5% (16 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/it/
2023-12-13 14:47:22 +01:00
OCA-git-bot
5f624fbb40 [UPD] README.rst 2023-12-13 14:47:22 +01:00
Pedro Castro Silva
25b33547fd Translated using Weblate (Portuguese)
Currently translated at 100.0% (58 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/pt/
2023-12-13 14:47:22 +01:00
kikopeiro
0b1970c0ea Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/es/
2023-12-13 14:47:22 +01:00
Ivorra78
f647bcee83 Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/es/
2023-12-13 14:47:22 +01:00
Yann Papouin
0bba6668ce Translated using Weblate (French)
Currently translated at 100.0% (58 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/fr/
2023-12-13 14:47:22 +01:00
Francesco Foresti
22a5f38731 Translated using Weblate (Italian)
Currently translated at 27.5% (16 of 58 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/it/
2023-12-13 14:47:22 +01:00
OCA-git-bot
73f96dec94 base_user_role 16.0.1.2.1 2023-12-13 14:47:22 +01:00
JordiMForgeFlow
9953617949 [FIX] base_user_role: filter domain for user role search 2023-12-13 14:47:22 +01:00
Weblate
35cb1bfe6b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/
2023-12-13 14:47:22 +01:00
OCA-git-bot
8e0ec548aa base_user_role 16.0.1.2.0 2023-12-13 14:47:22 +01:00
OCA-git-bot
7353caefb0 [UPD] README.rst 2023-12-13 14:47:22 +01:00
oca-ci
69db8a4ce8 [UPD] Update base_user_role.pot 2023-12-13 14:47:22 +01:00
Francesco Foresti
2d7d586495 Translated using Weblate (Italian)
Currently translated at 30.7% (16 of 52 strings)

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/it/
2023-12-13 14:47:22 +01:00
Guillaume Pothier
c31ccb3b61 Use kwargs in with_context, as per pre-commit recommendation 2023-12-13 14:47:22 +01:00
Guillaume Pothier
bc514df073 Add test for the create role from user wizard 2023-12-13 14:47:22 +01:00
Guillaume Pothier
d6cf9b4a56 Fix model name change in views 2023-12-13 14:47:22 +01:00
Guillaume Pothier
08d7602c17 Undo changes to README and put them in the files in the readme directory instead 2023-12-13 14:47:22 +01:00
Guillaume Pothier
5d05624682 Simplify wizard name 2023-12-13 14:47:22 +01:00
gpothier
36ce2aece5 Make name field required
Co-authored-by: Sylvain LE GAL <sylvain.legal@grap.coop>
2023-12-13 14:47:22 +01:00
Guillaume Pothier
d59c0f86f9 Fix formatting according to pre-commit hook 2023-12-13 14:47:22 +01:00