Portal User Login Email Change
This module updates the user's login email if the contact's email, also used as the user's login email, is changed by the portal user.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0When a portal user changes their own contact email address, this module also updates the login email of their linked Odoo user, so they can keep signing in with the new address.
This module keeps a portal user's login in sync with their contact email. Normally, a portal user's login is their email address. If the portal user edits the email on their own contact record, the login stored on the linked user account would otherwise stay on the old address, and the user could no longer sign in with the new one.
The module extends the contact model res.partner. When a contact's email is written, it checks whether the person making the change belongs to the portal user group (base.group_portal). Only in that case does it look at the linked user accounts (user_ids) and, if one of them has a login equal to the previous email, it updates that login to the new email.
Key behaviours: - The login is only changed when the email actually changes (old and new values differ). - Only portal users trigger this behaviour; internal users editing contacts are not affected. - Only user accounts whose login matched the old email are updated, so unrelated logins are left untouched. - If the contact has no linked user, or no user login matches the old email, nothing happens.
There are no new menus, screens, buttons or reports. The change happens silently in the background when a portal user saves a new email on their contact details.
Depends on
Models and fields (1)
- res.partner · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/partner-contact.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.