Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2835 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
1437
1
apr 25
4799
2
ago 24
10207
0
dic 23
1198
1
feb 23
2488