Skip to Content
Menu
This question has been flagged
2112 Views

Hi all.

Sorry for disturbing. Working on an Odoo CE one of my team mate deleted by mystake the admin user.

This now result in 500 error when connecting and in log trace :

 File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 1705, in xmlid_to_object

    raise ValueError('No record found for unique ID %s. It may have been deleted.' % (xmlid))

ValueError: No record found for unique ID base.user_admin. It may have been deleted. - - -

I found some solution on this forum but no way to make it work.

https://www.odoo.com/fr_FR/forum/aide-1/question/v12-restore-deleted-superadmin-user-154213

and 

https://www.odoo.com/fr_FR/forum/aide-1/question/odoo-13-deleted-default-super-admin-account-170375

(in which i could find a way to answer what could be new user id).

Could an angel give me a hand on this big (big) issue.


Thanks.

Avatar
Discard