add user role debugging script and update docker-compose container names and backup documentation

This commit is contained in:
Alaguraj0361 2026-04-11 16:04:47 +05:30
parent 5f34bf9419
commit bdc602a686

4
check_users.py Normal file
View File

@ -0,0 +1,4 @@
users = env["res.users"].search([("restaurant_role", "!=", False)])
for u in users:
print(f"DEBUG: User={u.name}, Role={u.restaurant_role}")
print(f"DEBUG: Groups={[g.full_name for g in u.groups_id if 'User types' in g.full_name or 'Restaurant' in g.full_name]}")