-
-
Notifications
You must be signed in to change notification settings - Fork 498
Open
Labels
Description
Module
auth_saml
Describe the bug
Database locks when trying to signin
To Reproduce
Affected versions: 18.0
Steps to reproduce the behavior:
- Create a user in Odoo
- Add saml configuration lines
- Create an employee linked to the user
- Try to sign in by the user
Expected behavior
Sign in should be successful
Observed behaviour
Sign in is blocked, Odoo loads indefinitely, and I don't see Login successful in the logs
Additional context
After debugging, I noticed that the signin process is blocking in the _login method at server.odoo.addons.base.models.res_users.Users._login, when I comment user.tz = tz it works fine.
Also, when I run the SQL command to view database locks, I have the query of tz update in res.partner, so it makes sense.
So I doubt maybe it's a cursor issue, but I'm not sure.