Odoo Aide

1

0
4 Answers
4
Avatar

Niyas Raphy

--Niyas Raphy--
24541
| 7 7 11
Wayanad, Inde
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
26/03/2018 05:14

Hi,

If you want the shop page only visible/accessible for the logged in users, just make a little change in the route for the shop.

In website_sale -> controllers -> main.py

By default,



You can see that the auth='public' is given in the route.

You have to change it to auth='user' , so that the page will be accessible only for logged users.




Thanks

2 Comments
Nicolas Floréal
26/03/2018 05:41

I tried your solution, makes sense but now I have the 500 internal server error. I changed the user back to public but it didn't went back on. Now restarting the server and hopefully it works.

Nicolas Floréal
26/03/2018 05:45

It was an error caused by myself, thank you for the solution! Just what I wanted!

0
Gareth Stead
08/10/2018 18:38

Is there a module that does this for the non-technical user?

Poser une question
Keep Informed
1 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now