
There are over a dozen hardcoded references to both the External ID of this account "based.admin_user" and to the database ID of this account "2".
This user is critical for the successful operation and administration of Odoo.
Without it:
- you eliminate "superuser" access, potentially locking you out of key admin functions.
- you risk breaking automated actions and scheduled jobs.
- you introduce potentially critical data integrity issues - resulting in errors in logs, incomplete record history and the inability to track user actions.
Recreating a user with the same name or email as base.user_admin does not restore the original superuser privileges.
Even with elevated permissions, such recreated users lack the id=2 association that we use for superuser identification.
We have even gone so far as to prevent the ADMIN user from being deleted via the UI.