Repository
OCA/website · module folder · Try on Runboat
Module version
1.1.1
Category
Website
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/website
Last tracking update
2026-08-07 08:23:03
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pilar Vargas, Weblate, OCA-git-bot, oca-ci, cristina-hidalgo-tecnativa
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
This module extends the portal invitation wizard to allow restricting portal
users to a specific website in multi-website environments.

When inviting contacts as portal users from the backend, you can now select a
website at the wizard level (applied to all contacts) or override it
per-contact. The invitation email URL will automatically use the selected
website's domain, ensuring the signup link directs the user to the correct site.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
portal_wizard_view_website portal.wizard.website portal.wizard Inherits portal.wizard_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • website_id Many2one → website
    comodel_name='website' help="Apply this website to all the contacts below. The invitation email URL will match this website's domain. Leave empty to keep each contact's current website." string='Website'
Public methods (1)
  • action_apply_website(self)
    Update website_id on all partners without modifying portal access or sending emails.

New fields (1)
  • website_id Many2one → website
    comodel_name='website' compute='_compute_website_id' readonly=False store=True string='Website'
Public methods (2)
  • action_grant_access(self)
  • action_invite_again(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.