Sunday, April 9, 2023
1 change · master
Enhancements to existing features
Users who are not signed in will no longer lose page details when they are sent to the login screen from the main web entry point. This helps ensure they can still be taken to the intended page or form after signing in, improving navigation continuity.
Original PR description
Description of the issue/feature this PR addresses: A user which is not authenticated yet and hits the `/web` route passing some query parameters, gets redirected to `/web/login` route losing any parameter passed. There are cases where it could be useful to keep those parameters, for example if we want to redirect a user to a specific form view passing the `redirect` parameter Current behavior before PR: Any query parameter passed to `/web` route gets lost if the user is not authenticated yet Desired behavior after PR is merged: Any query parameter passed to `/web` route for a non-authenticated user is passed to the `web/login` route so that it can be availabale after user login (e.g: redirect parameter example) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr