This question has been flagged

I want to display a attachement on the product view. I think I can use the Qweb t-commands to do that; something like this:

<a t-attr="href=product.ir_attachement[0].file"><t t-esc="product.ir_attachement[0].name"/></a>

 

Any good advise?

Avatar
Discard