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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
feb. 24
|
5381 | ||
|
2
jul. 22
|
5437 | ||
|
3
sep. 20
|
18499 | ||
|
1
sep. 19
|
3672 | ||
|
1
jul. 25
|
1998 |