Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
2803 Prikazi

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
Opusti
Avtor 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
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 24
1379
1
apr. 25
4723
2
avg. 24
10078
0
dec. 23
1145
1
feb. 23
2445