コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3614 ビュー

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?

アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 24
5381
2
7月 22
5431
3
9月 20
18499
1
9月 19
3669
1
7月 25
1991