コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3121 ビュー

How To Show Customer's Tags Fields in Customer List of POS

アバター
破棄
最善の回答

Hi,

Try refer following code.

<t t-name="ClientListScreen" t-inherit="point_of_sale.PartnerListScreen" t-inherit-mode="extension" owl="1">
   <xpath expr="//table[hasclass('partner-list')]//th[last()]" position="after"> 
      <th>Customer Tags</th>
   </xpath>
</t>
<t t-name="ClientLine" t-inherit="point_of_sale.PartnerLine" t-inherit-mode="extension" owl="1">
<xpath expr="//tr/td[last()]" position="after">
<td class="text-center">
<center>
<t t-esc="props.partner.category_id.name" />
</center>
</td>
</xpath>
</t>

Regards

アバター
破棄
著作者

does not appear name after using <t t-esc="props.partner.category_id.name" />

if remove ".name" , id list appear like "1,4"

関連投稿 返信 ビュー 活動
2
11月 23
2060
2
1月 25
2699
2
2月 24
5169
1
7月 23
2633
0
5月 23
3593