跳至内容
菜单
此问题已终结
2 回复
2701 查看

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

形象
丢弃
相关帖文 回复 查看 活动
0
4月 24
1278
1
4月 25
4512
2
8月 24
9761
0
12月 23
1024
1
2月 23
2252