تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1855 أدوات العرض

Hello, I have a big problem.

the admin rights of my main user are lost. I can't go to development settings or change anything. What can I do?

How can I get a new admin user?



Greetings 



الصورة الرمزية
إهمال
أفضل إجابة

One way to solve this is by logging in as super user (odoo bot). The super user will have same credentials as admin but full rights, even the rights restricted to admin.


Another way to solve this is by executing a query. Go to pg admin and execute this query. insert into res_groups_users_rel (gid, uid) values (2, 2);

First argument 2 is the record id of Administration group and Second argument 2 is the id of the admin user. (1 will always be odoo bot).


الصورة الرمزية
إهمال
الكاتب

Hi John,

What/where is "pg admin"?

الكاتب

Hi John,
Where can I find login per superuser?
In my login there are noch possibility to chose superuser. I am using odo16

الكاتب أفضل إجابة

Hi John,

What/where is "pg admin"?

الصورة الرمزية
إهمال

Pg admin is an application used for Postgres which is the SQL used for odoo. You can use pg admin to see or manipulate the database and tables used in odoo. You can refer this article if you need more details : https://www.cybrosys.com/odoo/odoo-books/odoo-15-development/ch2/

الكاتب

Hi John,
my web-skills are to low. I have problems to login about pgadmin. My host name is wrong?!