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:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
2
返信
2754
ビュー
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
|
1306 | ||
|
1
4月 25
|
4569 | ||
|
2
8月 24
|
9863 | ||
|
0
12月 23
|
1061 | ||
|
1
2月 23
|
2304 |