add user role debugging script and update docker-compose container names and backup documentation
This commit is contained in:
parent
5f34bf9419
commit
bdc602a686
4
check_users.py
Normal file
4
check_users.py
Normal 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]}")
|
||||
Loading…
x
Reference in New Issue
Block a user