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

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"/>


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Try any one of this,

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

Thanks

อวตาร
ละทิ้ง
ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 23
2676
1
ต.ค. 20
2347
1
มี.ค. 25
2494
0
ส.ค. 22
3548
How to round sum of if code แก้ไขแล้ว
1
พ.ค. 22
4452