Odoo Help

0

How to display product attchements on ecommerce section of Odoo?

By
studio7t7
on 5/3/16, 6:46 AM 440 views

Hi,

I am trying to find a way to display attachment added from products section to ecommerce/web.there are some partially developed modules on git hub but not working or not working for V9.This thread helped me to

https://www.odoo.com/forum/help-1/question/fixed-what-is-wrong-with-this-code-73380

Following this I could able to show no of attachments for a product on website section.But I cannot get the link to uploaded file and let it download for users.

This code shows no of attachments -

<a><t t-esc="len(images)" widget="url"/>Product Attachment</a>

I need to find out uploaded file ID and make a URL like this -

/web/content/FILE_ID?download=true

Then I need to replace it with above code and let it download.

Can anyone help me on this

Thanks




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

2 follower(s)

Stats

Asked: 5/3/16, 6:46 AM
Seen: 440 times
Last updated: 5/5/16, 6:36 PM