Portal Invitation by Website

portal_invitation_by_website
REPOSITORY
REPOSITORYOCA/website
GIT
GIThttps://github.com/OCA/website.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website/tree/17.0/portal_invitation_by_website
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, cristina-hidalgo-tecnativa, Pilar Vargas
WEBSITE
WEBSITEhttps://github.com/OCA/website
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - portal
    - web
    - base
    - web_editor
    - bus
    - http_routing
    - mail
    - base_setup
    - web_tour
    - auth_signup
    - website
    - digest
    - resource
    - social_media
    - google_recaptcha
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits portal.wizard_view
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.