Skip to Content
Menu
This question has been flagged
1 Reply
2867 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

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

Related Posts Replies Views Activity
2
Nov 23
1678
2
Jan 25
2306
2
Feb 24
4564
1
Jul 23
2265
0
May 23
3192