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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
2701
查看
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 |