跳至內容
選單
此問題已被標幟
3601 瀏覽次數

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
5414
3
9月 20
18497
1
9月 19
3653
1
7月 25
1978