Skip to Content
Menu
This question has been flagged
2 Replies
1811 Views

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?

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 24
350
2
Aug 24
6738
0
Dec 23
284
1
Feb 23
957
0
Feb 23
157