Hello,
I have made a button on main website screen, when i logged in at that time when i click on it the functionalities works fine but if i am not logged in at that time it gives forbidden error.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I have made a button on main website screen, when i logged in at that time when i click on it the functionalities works fine but if i am not logged in at that time it gives forbidden error.
Hi Udit,
This is because public users have no access to that page. So You have to give access rights to group_public in the models used in that new page. You can add a csv like this from custom module or you can add it from UI,
activate the developer mode then, Settings -> Technical -> User Interface -> Security -> Access Controls list
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
view_course_admission,view.course.admission,model_course_admission,base.group_public,1,1,1,1
Thanks
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 11 24
|
1309 | ||
|
1
thg 6 24
|
1341 | ||
|
1
thg 5 24
|
2652 | ||
|
1
thg 3 24
|
50 | ||
|
1
thg 10 21
|
5475 |