Merged
Conversation
…tching and enforce correct redirections
…tching and enforce correct redirections
…ctions' into T3047-fix-theme-dependent-redirections
Contributor
Author
|
/gemini review |
Contributor
Author
|
/gemini summary |
Contributor
Summary of ChangesThis pull request addresses a critical multi-website routing issue where MyCompassion's custom controllers were globally intercepting core Odoo portal routes, disrupting the user experience on other websites. The changes ensure that MyCompassion users are seamlessly directed to their 2.0 dashboard, while users on all other websites correctly access their native Odoo portal views without interference. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
|
ecino
approved these changes
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR resolves a multi-website routing issue where
my_compassioncontrollers were globally intercepting core Odoo portal routes (/my,/web/login,/web/signup, '/my/information). This global interception was breaking the portal and login experience for users on other websites like Muskathlon and TOGETHER.Changes Made
request.env.ref("my_compassion.my2_website"))super()method.?redirect=parameter is handled as well.Impact
MyCompassion users will continue to be seamlessly directed to the 2.0 dashboard (
/my2/dashboard), while users on all other websites will now correctly see their native Odoo portal views without issues.