Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4875 Lượt xem

Hi


Followed by this tutorial \https://www.odoo.com/documentation/13.0/howtos/website.html to create a website. The tutorial mentions the teacher's page would be editable but I didn't see any edit button or link from the page, finally I figured out only if I login with an admin user, I can see the purple top bar with module menu, which has "edit" button on the right. If I login with a portal user, it doesn't show the bar and no module menu as well, or, if I login with an employe user, I can see the top bar with menu, but no "edit" button. Is there any way let portal user be able to see top bar and menu, and "edit" button?


Be appreciate for any help.


Thanks.

Ảnh đại diện
Huỷ bỏ
Tác giả

Forgot to mention, I have this in ir.model.access.csv file:

portal_user_access_openacademy_teachers,portal_user_access_openacademy_teachers,model_openacademy_teachers,base.group_portal,1,1,0,0


Câu trả lời hay nhất

Hi Jeff:

A Portal user cannot be granted Website Editor privileges. If you need a user to be able to edit the website, you will need to define them as an Internal User and grant them either the Restricted Editor or the Editor and Designer security group.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Paresh, after spent couple days to learn, I start to understand the design thinking now. The backend is always backend, which means no frontend user(from portal registration) is allowed to access, the way to share information between frontend and backend is we must develop ourself frontend page(form) for portal user to submit data, so that the backend user will receive and process the data, instead of frontend user directly reuse backend form. So, now the question is I'm hoping there would be some tutorial or example for how to develop frontend page, the official tutorial is too simple, I might need a more complicate one.

Jeff

The tutorial touches upon the core concepts and is a good starting point. If you need something more, there are books on Odoo that have been written by various authors. A quick book search on "Odoo" should bring up a long list of such books.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
10516
1
thg 4 24
4376
1
thg 2 23
4419
0
thg 10 21
3110
3
thg 10 20
5513