Commit Graph

61 Commits

Author SHA1 Message Date
OCA-git-bot
3e1bdad071 [UPD] README.rst 2023-09-03 16:35:18 +00:00
OCA-git-bot
94cb874a7e base_user_role 12.0.2.1.3 2023-07-10 21:21:44 +00:00
hugues de keyzer
74851db119 [FIX] pass pre-commit 2023-07-10 19:47:46 +02:00
mymage
dafe2e74ab Translated using Weblate (Italian)
Currently translated at 38.4% (15 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/it/
2023-04-17 16:41:28 +00:00
mymage
362705c328 Translated using Weblate (Italian)
Currently translated at 38.4% (15 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/it/
2023-04-10 16:32:52 +00:00
mymage
cb1203078f Translated using Weblate (Italian)
Currently translated at 38.4% (15 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/it/
2023-03-30 14:30:40 +00:00
Francesco Foresti
8e9a0b5555 Translated using Weblate (Italian)
Currently translated at 38.4% (15 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/it/
2023-01-02 11:58:24 +00:00
Maria Sparenberg
fa1e3cfbcc Translated using Weblate (German)
Currently translated at 84.6% (33 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/de/
2022-02-07 14:59:16 +00:00
OCA Transbot
27b555932d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/
2022-01-31 17:09:24 +00:00
oca-travis
f6a7b23983 [UPD] Update base_user_role.pot 2022-01-31 16:32:01 +00:00
Yavuz Avci
8e26d8c57e Translated using Weblate (Turkish)
Currently translated at 94.7% (36 of 38 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/tr/
2022-01-10 16:40:00 +00:00
Yavuz Avci
9d7ea360ff Translated using Weblate (Turkish)
Currently translated at 100.0% (38 of 38 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/tr/
2022-01-06 13:40:03 +00:00
OCA-git-bot
88120541fb base_user_role 12.0.2.1.2 2021-07-03 21:33:32 +00:00
OCA-git-bot
fd62831986 Merge PR #77 into 12.0
Signed-off-by dreispt
2021-07-03 19:00:50 +00:00
OCA-git-bot
710497f4b0 base_user_role 12.0.2.1.1 2021-04-26 16:52:18 +00:00
OCA-git-bot
b703c619bc Merge PR #120 into 12.0
Signed-off-by dreispt
2021-04-26 16:46:34 +00:00
OCA Transbot
a284144ef8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/
2021-04-26 15:17:52 +00:00
oca-travis
718594a73f [UPD] Update base_user_role.pot 2021-04-26 14:52:42 +00:00
Sylvain LE GAL
0709376620 [FIX] base_user_role : affect correct default category, when creating the related group 2021-04-26 15:58:36 +02:00
Sylvain LE GAL
612f648fdf [IMP] base_user_role : prevent errors if users are not accessible by ACL, when updating roles 2021-04-20 13:05:18 +02:00
Ana Suárez
6bb312cf5d Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/es/
2021-03-16 18:46:01 +00:00
OCA-git-bot
c194c603e9 base_user_role 12.0.2.0.1 2021-03-16 11:05:34 +00:00
OCA-git-bot
a724decf5f [UPD] README.rst 2021-03-16 11:05:33 +00:00
OCA-git-bot
d219b7b36e Merge PR #64 into 12.0
Signed-off-by StefanRijnhart
2021-03-16 10:13:56 +00:00
Pedro Castro Silva
e27ebb144c Translated using Weblate (Portuguese)
Currently translated at 100.0% (39 of 39 strings)

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/pt/
2021-02-02 17:44:56 +00:00
Andrius Laukavičius
115aba15df [FIX] base_user_role: default user multi-company
When creating user, default roles are using `base.default_user`, which
in multi-company case, can be from different company than user is being
created for. If thats the case, user creating another user, will get
access error, when trying to read default template user.

To work around that, we use sudo, to make sure, template user data can
be read regardless of a company.

Also improved the way base_user_role tests are run. Changed base test
class from TransactionCase to SavepointCase.

From how tests are ran perspective, both classes behave the same: each
test uses set up which is roll backed after.

But the difference is that SavepointCase case is much faster, because
it calls setUpClass once and saves this case for all tests (reusing
saved state).
2020-12-16 20:12:49 +02:00
Daniel Reis
295eb5af44 [FIX] base_user_role: ensure Channel autosubscription logic is applied
It could be the case where ``mail`` Channel autosubscription logic would
run before the Role logic added new groups to the User.
In that case, the autosubscrition logic would fail to apply.

Adding the ``mail`` dependency ensures this does not happen.

While the ``mail`` module in not required for the Role features,
it is a reasonable dependency to add, since it will be already
present in the vast majority of Odoo installations.
2020-06-02 11:34:48 +01:00
OCA Transbot
efe0a694df Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/
2020-03-09 15:10:51 +00:00
OCA-git-bot
417fc1f7bb base_user_role 12.0.2.0.0 2020-03-09 15:10:39 +00:00
OCA-git-bot
cd980b6fc8 [UPD] README.rst 2020-03-09 15:10:38 +00:00
oca-travis
c2ec71eedf [UPD] Update base_user_role.pot 2020-03-09 15:00:35 +00:00
Kevin Khao
588e8e0daa [IMP] base_user_role: Added multicompany support from commit server-tool repo commit 840c2c1119460424230c935da24ec42f95c21122 2020-03-06 16:59:08 +01:00
Kevin Khao
d64b4123a9 [IMP] base_user_role: black 2020-03-04 10:49:05 +01:00
OCA Transbot
b82a56797e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_user_role/
2020-01-02 09:46:22 +00:00
OCA-git-bot
148c2007fe base_user_role 12.0.1.1.0 2020-01-02 09:46:10 +00:00
oca-travis
3cff026ea2 [UPD] Update base_user_role.pot 2020-01-02 09:43:03 +00:00
Harald Panten
bfcf31add1 [IMP] base_user_role: Adding a new tab for user comments in roles form. 2019-12-09 18:25:12 +01:00
OCA-git-bot
55daeda460 base_user_role 12.0.1.0.1 2019-11-15 08:29:41 +00:00
Jairo Llopis
e9ddce17c8 [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-11-13 11:48:09 +00:00
OCA-git-bot
026406e76b [UPD] README.rst 2019-07-29 03:37:50 +00:00
Jordi Ballester Alomar
300455f59d [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2019-02-25 19:06:48 +07:00
ernesto
6f667b9736 [MIG] base_import_match: Migration to 12.0 2019-02-15 08:08:14 -05:00
OCA-git-bot
cefee972da [UPD] README.rst 2019-02-11 19:47:15 +00:00
hveficent
2f3402ed1b [12.0][FIX] readme 2018-12-11 14:45:46 +01:00
OCA-git-bot
4893159ceb [UPD] README.rst 2018-12-02 02:54:58 +00:00
OCA Transbot
8660cc9b0a Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-11-25 17:23:52 +00:00
oca-travis
947f6fedfd [UPD] Update base_user_role.pot 2018-11-19 17:38:58 +00:00
OCA-git-bot
3f8b51b5a5 [UPD] README.rst 2018-11-19 17:18:54 +00:00
Duc Dao
a34fb2eae4 [MIG] base_user_role: Migration to 12.0 2018-11-19 18:00:21 +01:00
Hans Henrik Gabelgaard
4f87436611 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-11-19 18:00:21 +01:00