Skip to Content
Menu
This question has been flagged
3606 Rodiniai

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?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
vas. 24
5381
2
liep. 22
5417
3
rugs. 20
18497
1
rugs. 19
3657
1
liep. 25
1979