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?
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
2
Şub 24
|
5381 | |||
|
2
Tem 22
|
6237 | |||
|
|
3
Eyl 20
|
19651 | ||
|
1
Eyl 19
|
4531 | |||
|
0
Kas 25
|
3 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.