odoo/odoo#163645
Created by fw-bot
Merged
at a67ade65a8a8ea5e8ff26bb0277829f99b276fa6
- label
- odoo-dev:saas-17.1-16.0-fix-ldap-create-user-fzd7-fw
- head
- 95782e4c4afef468a415f8a6e0918341ba3c899a
- target
- saas-17.1
- merged
- 2 weeks ago by Framework (ORM), Julien Castiaux (juc)
- forward-port of
- odoo/odoo#162456
[FW][FIX] auth_ldap: LDAP login fails if it creates a new user.
Steps:
- Set up LDAP authentication with Create User enabled and a Template User set
- Log in with an LDAP identity that doesn't have an account yet
Get
odoo.exceptions.MissingError: Record does not exist or has been deleted
See https://github.com/odoo/odoo/issues/41060
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#162456