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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
2
Respostas
2709
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
0
abr. 24
|
1286 | ||
|
1
abr. 25
|
4538 | ||
|
2
ago. 24
|
9781 | ||
|
0
dez. 23
|
1033 | ||
|
1
fev. 23
|
2257 |