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
回覆
2702
瀏覽次數
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
|
4513 | ||
|
2
8月 24
|
9761 | ||
|
0
12月 23
|
1024 | ||
|
1
2月 23
|
2252 |