Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2747 Visualizzazioni

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?

Avatar
Abbandona
Autore Risposta migliore

It turns out to be an access problem. I had to override ir.attachment check method to be compatible with my module.

Avatar
Abbandona
Risposta migliore

can you please give me steps on how can I achieve this to solve this issue? Running v13 on SH

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 24
1304
1
apr 25
4568
2
ago 24
9857
0
dic 23
1053
1
feb 23
2289