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
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 -
Then I need to replace it with above code and let it download.
Can anyone help me on this
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: 5/3/16, 6:46 AM|
|Seen: 244 times|
|Last updated: 5/5/16, 6:36 PM|