Repository
OCA/website · module folder · Try on Runboat
Module version
1.0.0
Category
Website
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/website
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), Cetmix OÜ
Maintainers
Odoo Community Association (OCA), Cetmix OÜ
Committers
Weblate, OCA-git-bot, oca-ci, George Smirnov, Mohajiro
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
This module allows administrators to configure a custom URL where website users will be redirected after login or registration.
The same applies to new signups.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_website_login_redirect_settings res.config.settings.view.form.inherit.website.redirect res.config.settings form Inherits website.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • website_login_redirect_enabled Boolean
    config_parameter='website_user_login_redirect_custom.enabled' help='If checked, users will be redirected to a custom URL after login/signup.' string='On Login/Signup Redirect'
  • website_login_redirect_url Char
    config_parameter='website_user_login_redirect_custom.url' help="Relative URL path where users will be redirected after login/signup. Example: '/', '/shop', '/thank-you-for-joining-us'." string='Custom URL'
Public methods (1)
  • is_valid_redirect_url(url) -> bool
    @staticmethod
    Validate that URL is a safe relative path for redirects

Loading…