Commit Graph

26 Commits

Author SHA1 Message Date
oca-travis
0eeea56755 [UPD] Update base_user_role.pot 2021-02-11 10:52:21 +00:00
Jairo Llopis
644a08b80f [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
2019-12-16 14:43:53 +01:00
OCA Transbot
e6325cc3da Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-11.0/server-backend-11.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-11-0/server-backend-11-0-base_user_role/
2019-09-27 08:56:09 +00:00
oca-travis
04ba1d156c [UPD] Update base_user_role.pot 2019-09-27 08:17:03 +00:00
OCA Transbot
cb02e306fe Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-11.0/server-backend-11.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-11-0/server-backend-11-0-base_user_role/
2019-06-04 15:10:19 +00:00
oca-travis
898db12551 [UPD] Update base_user_role.pot 2019-06-04 15:10:09 +00:00
Harald Panten
380234769d [IMP] Adding a new tab for user comments in roles form. 2019-05-30 16:57:03 +02:00
OCA Transbot
ab9a016ce5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-11.0/server-backend-11.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-11-0/server-backend-11-0-base_user_role/
2019-03-07 18:25:19 +00:00
oca-travis
cb47c2e285 [UPD] Update base_user_role.pot 2019-03-07 18:25:11 +00:00
Jordi Ballester Alomar
8ddb163f55 [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2019-01-02 11:59:21 +01:00
Hans Henrik Gabelgaard
e53d461500 Translated using Weblate (Danish)
Currently translated at 100,0% (37 of 37 strings)

Translation: server-backend-11.0/server-backend-11.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-11-0/server-backend-11-0-base_user_role/da/
2018-08-30 08:00:10 +00:00
oca-travis
8d2552cb8d [UPD] Update base_user_role.pot 2018-08-30 07:03:06 +00:00
Stéphane Bidoul (ACSONE)
19ba7cf4ab remove obsolete .pot files [ci skip] 2018-06-15 23:41:22 +02:00
Benjamin Willig
0cee0f6767 [IMP] Use default user to define default roles to create for a new user 2018-02-21 09:12:31 +01:00
Duc Dao
0f55051261 [MIG] Update test cases for testing (unlink role and role line) to new api 2017-12-05 13:56:39 +07:00
sebalix
c2d6580a90 [FIX] base_user_role: ensure that the user's groups are updated when its last role line is removed 2017-11-23 23:55:54 +07:00
sebalix
34b4db6469 [IMP] base_user_role: add some test cases to check user's groups when its last role line is removed 2017-11-23 23:55:54 +07:00
sebalix
118089c338 [FIX] base_user_role: update users' groups when a role is deleted 2017-11-23 23:55:54 +07:00
Duc Dao
a97b909eba [MIG] base_user_role: Migration to 11.0 2017-11-21 16:35:16 +07:00
Benjamin Willig
9dc3b6e170 [10.0][FIX] User group not updating when removing a user from the role view 2017-11-19 22:44:57 +07:00
Alexis de Lattre
2744a1ca23 [FIX] Crash in base_user_role when role_id is not set on res.users.role.line 2017-11-19 22:44:57 +07:00
Adrien Peiffer (ACSONE)
559e9bf786 [MIG] base_user_role: Port to 10.0 2017-11-19 22:44:57 +07:00
sebalix
51beb2a111 base_user_role - Set a default category to associated groups 2017-11-19 22:44:56 +07:00
Stéphane Bidoul (ACSONE)
547f74012c base_user_role: display roles as first tab in user form 2017-11-19 22:43:32 +07:00
sebalix
604a9d1c63 base_user_role - Bump module version to '9.0.1.0.0'
[IMP] base_user_role - Replace '<openerp>' tags by '<odoo>' + Remove useless '<data>' tags + Reindent XML content

[FIX] base_user_role - Fix noupdate declaration

[REM] base_user_role - Remove old migration script
2017-11-19 22:43:32 +07:00
Sébastien Alix
8240ef42f4 8.0 - New module 'base_user_role' to manage user roles efficiently (#608)
* [ADD] New module 'base_user_role'

* [FIX] base_user_role - Review

* [FIX] base_user_role - Review s/is_active/is_enabled/

* [FIX] base_user_role - Review s/is_active/is_enabled/

* [IMP] base_user_role - Translations updated (template + FR)

* [FIX] base_user_role - Lint
2017-11-19 22:43:32 +07:00