Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2711 Vizualizări

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
apr. 24
1286
1
apr. 25
4540
2
aug. 24
9785
0
dec. 23
1034
1
feb. 23
2260