Odoo Help

2

Download attachment on website

By
Yves Hoyos
on 3/17/15, 5:04 AM 1,596 views

Hi,

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)

Stats

Asked: 3/17/15, 5:04 AM
Seen: 1596 times
Last updated: 1/13/16, 3:59 AM