跳至内容
菜单
此问题已终结
1 回复
4298 查看

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

相关帖文 回复 查看 活动
1
1月 23
2677
1
10月 20
2348
1
3月 25
2494
0
8月 22
3554
1
5月 22
4453