コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
2759 ビュー

I am using odoo 15, I have users added to the system. I want to make a way that will force the user to change their password from the default one when they want to log in to system
How can I accomplish this?

アバター
破棄
最善の回答

Hi,

In Odoo, there isn't a default feature to mandate password changes for newly created users upon their initial login. While there's an option to allow users to set their password via email invitation, manually setting a password doesn't provide this functionality. If you require users to change their password during their first login after you've already set it, you'll need to develop a custom module to enforce this behavior.


Hope it helps

アバター
破棄
著作者

Yes thank you
I am working on this functionality in addition to other ones to be all at one module to be used.

最善の回答

What default password do you mean? As far as I remember you should invite users at:

"Settings > General Settings >Users > Invite New Users"

They should receive an e-mail in which they can create a new password.

アバター
破棄
著作者

we registered users in our system with the employee email. we put a password like user@1234 for all users. We want from users when they log in for the first time to change their password from the first one we put for them. That is what I want.

In this case, I would recommend that you don't give him the password in the first place and use the "Send Password Reset Instructions" action in the user form.
This will send them an email with a link to set a new password.
I can't think of any other option right now without creating a custom module for it.

I agree, do not set a default passport so user has to set one at the time of 1st login.

If there are multiple users it is also possible to select them all and then 'Send password reset instructions' from action menu

最善の回答

I found a module that can achieve this

https://apps.odoo.com/apps/modules/15.0/pandora_reset_users_password

アバター
破棄
最善の回答

Maybe create an automated action on user model, something like this. Haven't tested, so unsure how it works.


アバター
破棄
関連投稿 返信 ビュー 活動
4
8月 22
118703
1
11月 20
4354
0
9月 17
3731
0
3月 15
3022
4
12月 23
39603