I would like to create a link on the website to download an attachment. I tried to upload to attachment in the backend, and then create the link manually (https://localhost:8069/web/binary/saveas?model=ir.attachment&field=datas&filename_field=name&id=82) on the website, but if I'm not logged, I have an access error.
Is there a way to add the attachment (a PDF in my case) from the website editor? Or, if I have to do it from the backend, how can I solve my access rights problem ?
Thanks for your advices.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/17/15, 5:04 AM|
|Seen: 991 times|
|Last updated: 1/13/16, 3:59 AM|