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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
1811
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Apr 24
|
350 | ||
|
2
Aug 24
|
6738 | ||
|
0
Dec 23
|
284 | ||
|
1
Feb 23
|
957 | ||
|
0
Feb 23
|
157 |