Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4308 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Try any one of this,

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

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 23
2679
1
thg 10 20
2349
1
thg 3 25
2506
0
thg 8 22
3558
1
thg 5 22
4457