Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How to recover admin password if you don't have access to the email address or you just not set it before you changed a password and logged off from the system ?
I know, it is a stu..d question but it happens sometimes.
Couple of weeks ago My boss (he just love to do it) changed admin password then forgot. So I've had no other way and recovered database from the backup I remember the password, however some data were lost, some of course we restored based on what people remembered.
SO, is there any other way to get into the system as a admin or change admin's password ?
Password in database is encrypted .....
By the way, admin is the only user with full access rights so none of the other users can change system parameters or passwords.
Of course there is ............. a very simple way ............ to change it .............
You could set a new password directly in the database at the res_users table, put your new password on the field "password" and set to empty the field password_crypt. After that just put the new password at the login page and you will be ok
Is doing the same as Odoo for encrypt the password and set the new_password to the password_crypt field, like:
from passlib.context import CryptContext
crypt_context = CryptContext(
new_password = crypt_context.encrypt(password)
Axel's alternative solution for Odoo 9.0 and newer simplified as command line commands can be found here:
An alternative method:
1. Allow the admin password to be reset.
insert into base_config_settings(auth_signup_reset_password) values(true);
update res_partner set signup_type='reset', signup_token='rsvabcdefghijykalklk', signup_expiration=to_timestamp('20200411','YYYYMMDD') where id=(select partner_id from res_users where id=1);
2. Reset the password
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/2/16, 10:52 AM|
|Seen: 3565 times|
|Last updated: 10/22/16, 10:52 AM|