Skip to Content
Menu
This question has been flagged
1 Reply
2274 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
1092
2
Jan 25
1649
2
Feb 24
3778
1
Jul 23
1787
0
May 23
2591