Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3685 มุมมอง

Odoo 8 custom website. 

I have a custom frontend website which contains a dropdown btn-group containing several options for a user to select. When I set the controller to auth='public' this button functions correctly (when a user is logged in). If I log out the button will NOT drop down despite the fact that if I inspect the html I can see the content (menu options) is there.

The content is passed to the template by the controller.

The issue is that the button is meant to be clicked by a NON USER (public or none authentication).

To make matters more interesting if I set auth='none' the dropdown button again starts working. However now I can no longer use the website editor toolbar if logged in.

I feel this is a permissions related issue. Is there some correlation between the functionality of buttons and the authentication type of the page? I have not made an effort to control access to this button and a public user has full permissions on the data in the model.

     I would really appreciate any insight you may be able to provide.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มิ.ย. 20
2656
2
ส.ค. 25
2397
Controller not working แก้ไขแล้ว
2
มิ.ย. 25
708
4
พ.ค. 25
2848
2
มี.ค. 25
5871