Odoo Help

0

0
1 Answer
0
Avatar

Ermin Trevisan

--Ermin Trevisan--
10858
| 7 5 9
Walchwil, 瑞士
--Ermin Trevisan--


Ermin Trevisan
2019/5/17 下午8:17

Please be aware that deactivating users does not deactivate the admin account. Only deactivating the admin account does deactivate the admin account.

You can try to reactivate the admin user (user with ID 1) directly in the database:

~$  sudo su postgres
~$ psql
postgres=# \connect Your_Database_Name
You are now connected to database "Your_database_Name" as user "postgres"
YOurDatabase_Name=# UPDATE res_users SET active=True WHERE id=1;

This should do the trick.

Ask a Question
Writer
Keep Informed
1 follower(s)
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