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

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?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 24
1307
1
เม.ย. 25
4571
2
ส.ค. 24
9870
0
ธ.ค. 23
1063
1
ก.พ. 23
2306