İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4301 Görünümler

what is t-filed value for Company name ?

so instead of product  name (as shown Below) I want to use Company name. What Would be T-field value?


<th class="table-active text-left" style="height: 6rem;">
                        <strong t-field="product.display_name"/>


Avatar
Vazgeç
En İyi Yanıt

Hi,

Try any one of this,

<span t-field="product.company_id.name"/>
<span t-esc="o.user_id.company_id.name"/>

Thanks

Avatar
Vazgeç
Üretici

res_company.name works fine.

got one more question for you How Can I access qweb file for Lot/Serioal number barcode ? thanks is advance

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 23
2679
1
Eki 20
2349
1
Mar 25
2503
0
Ağu 22
3558
1
May 22
4455