Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3584 มุมมอง

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?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 24
5381
2
ก.ค. 22
5406
3
ก.ย. 20
18495
1
ก.ย. 19
3651
1
ก.ค. 25
1975