تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1790 أدوات العرض

Hi, 


I have odoo installed on a Synology nas with a docker container, i have my website but i wanted to restrict the shop only for registered users, i have seen that is possible by editing in the controller. and chenge from public to user,


but the problem is that i have it installed on a nas with a docker i don't know where is the source code of the odoo inside the nas, so i cannot change the code, 


My question is, theres is away on odoo settings to restrict the shop to regitered users only like youu can do with the pages? so if a non registered user click on the shop it wil display the login page


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thank you, i appreciate the help

Actually i have arrived by doing another method, i simple have created a new page and redirected it to the /shop, i have deleted the original shop button from the menu, and i have restricted pages to singned up only, so like this if i logout no pages are seen 

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You can enable debug mode and go to the website. From the shop page select HTML/CSS Editor from the Site menu. 


Then Edit the xml add user and portal groups and Save.


Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 21
3988
0
فبراير 21
5218
0
أغسطس 19
5147
2
أكتوبر 23
6494
2
سبتمبر 20
6406