how to change my login website to public view because if they want to acesss they need to login so how to change into public view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
To make your Odoo website publicly viewable:
- Publish the Website: In the Website app, ensure your website is published.
- Publish Pages: Go to Website > Site > Pages and publish the specific pages you want public.
- Check User Rights: Ensure public users have the necessary access rights (usually default).
Hi,
If your Odoo website is asking users to log in before viewing, you can make it publicly accessible by following these steps:
How to Make Your Odoo Website Public (No Login Required):
Activate Developer Mode
Go to Settings > Activate Developer Mode (or add ?debug=1 to the URL).
Ensure Pages Are Published
Go to Website > Site > Pages
Open the page you want to make public.
Make sure the "Published" toggle is on (green).
Allow Public Access in Routes (for developers)
If the page is created via a Python controller, ensure the route uses:
@http.route('/your-page', type='http', auth='public', website=True)
Hope it helps
Step-by-Step: Make Website Public
1. Set the Website Page(s) to Be Public
- Go to Website → Site → Pages .
- Open the page you want to make public.
- Check the “Published” status is Enabled .
- Click on the “Edit” button (if needed), then ensure the page is saved and accessible.
2. Adjust Access Rights
Ensure public access is not restricted by backend ACLs (Access Control Lists):
- Go to Settings → Technical → Security → Access Control Lists
-
Look for models like:
- website.page
- website.menu
- Any custom models you're displaying
➡ Ensure there is a group: Public or Portal with Read access.
If not:
-
Click Create
- Model: eg website.page
- Group: Public
- Permissions: Check Read
3. Check Controllers (Developers Only)
If you have custom code in a controller that requires login , make sure it does not include this:
@http.route('/your_url', auth='user')
Instead, change to:
@http.route('/your_url', auth='public')
4. Remove Redirects to Login
Check whether login redirection is forced:
- Go to Website → Configuration → Settings
- Make sure there's no force login or authentication module requiring login for homepage.
5. Clear Cache
Once you've made all changes:
- Go to Website → click on ⚙️ (Settings) → Clear Cache
- OR restart Odoo service if using custom deployment.
Test:
Open the site in an incognito/private browser window. You should now see the homepage or public pages without being asked to login.
Important Notes:
- This will not expose internal modules (like Sales, Inventory, etc.) — only pages meant for the website frontend.
- Be careful exposing sensitive data. Use groups and access rules for any dynamic content shown to the public.
Thanks & Regards,
Email: contact@datainteger.com
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se