Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2750 Переглядів

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?

Аватар
Відмінити
Автор Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 24
1304
1
квіт. 25
4568
2
серп. 24
9859
0
груд. 23
1057
1
лют. 23
2290