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

I created a button in form view which calls a python function that downloads an attachment. The problem is if the admin user clicks the button everything works fine but for other kinds of users, it returns a Not Found page. any idea what is the problem?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

It turns out to be an access problem. I had to override ir.attachment check method to be compatible with my module.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

can you please give me steps on how can I achieve this to solve this issue? Running v13 on SH

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1307
1
thg 4 25
4573
2
thg 8 24
9875
0
thg 12 23
1063
1
thg 2 23
2307