Reset password odoo

~$ python3
>>> from passlib.context import CryptContext
>>> setpw = CryptContext(schemes=['pbkdf2_sha512'])
>>> setpw.encrypt('YourNewPassword')
~$  sudo su postgres
~$  psql
postgres=# \connect YourDatabase_Name
You are now connected to database "YourDatabase_Name" as user "postgres"
YourDatabase_Name=# UPDATE res_users SET password='', password_crypt='YourCopiedHash' WHERE id=1;

References

reset_password_odoo.txt · Last modified: 2019/05/09 12:10
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain