I created a website with the Odoo website builder module. Now I want to access this website without having to log in Odoo. How do I do that? For example, my Odoo 9 is at 192.186.0.2:8080 but I face the login at this address. What is the address for the website on my LAN? Website is public so not need for anyone to log in to view my website.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
I found the solution. I got the website working while you have multiple databases loaded by appending "/?db=xxx" where xxx is the name of your database with desired website (created from Odoo Website Builder) to your odoo instance URL.
For example if your Odoo URL is localhost:8080 then to view your website at localhost:8080/?db=xxx where xxx is the name of database. That's it.
This won't be necessary if you only have one database loaded in the system (postgressql).
Seems like your 'first page' / homepage needs authentication...
When you go on "http(s)://192.186.0.2:8080"... on which url are you redirected ?
yes there is authentication at 192.168.1.94:8080 to access Odoo backend, but I meant how to access the website that I created with Odoo Website Builder module. I don't want to log in Odoo and then access the website from there. I don't want my peers to log in my Odoo just to view the website. What is the proper address (port?) to view the website normally?
The url should be the same. What is the url in the top bar ? <br/>
192.168.1.94:8080/web ?
yes the url is same but i get login which i don't want to log in just to view the website. how can my other peers view the website without having to log in Odoo? it's same idea as you view any other website on the internet without having to log in. i want this same for my LAN for my colleagues to view the website that i created with Odoo Website Builder.
'The url is the same ...' WHAT IS the url ?
xxx:8080/??????????????????????????????????????
it's http://192.168.1.94:8080/page/homepage but i get 404 error if i'm not logged in. i can access to the page only when i'm logged in.
both http://192.168.1.94:8080/page/homepage and http://192.168.1.94:8080 point to same home page
Ok, so your are not face to the login page :/ But a 404 :)
Do you have custom module ? Do you have some error in your log.
Else, are you sure that you have no group on your view ?
By default, controller page is public... Check that you have a ir.ui.view whey key=homepage, active=True and without group on this view.
nope, i don't have any custom module installed. where can i check my view? "system parameters" under settings menu?
i see several ir.ui.view objects in the "views" menu under the user interface. is that what you referred to?
yes, it is...
You should find an 'homepage' view. click on it to open, and take a look in the 'key' field.
Check also that you don't have changed access right on it, added groups or inactive it.
i found the view named "Homepage" with the following settings:
view name: Homepage
Website:
Key: website.homepage
View Type: QWeb
Object:
Sequence: 29
Child Field:
Inherited View:
View inheritance mode: Base view
Model Data: Homepage
External ID: website.homepage
Active: checked
i have changed the key field to homepage (was website.homepage) but it doesn't solve the issue.
and there is no groups assigned as well
I got it working. See the answer above. It's simple actually. Thanks for your help though.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Dec 24
|
55 | ||
|
2
Nov 24
|
597 | ||
|
1
Oct 24
|
256 | ||
|
1
Jul 24
|
420 | ||
|
1
Oct 24
|
1272 |
check the port in your odoo-server.config
I didn't see any line relating to website address in the openerp-server.conf other than 8080 (xmlrpc_port) for Odoo itself
Sorry, I mistyped the IP address. it's actually 192.168.1.94, just a normal IP address assigned by the DHCP. Not the router IP address. My mistake.