How To Show Customer's Tags Fields in Customer List of POS
This question has been flagged
1
Reply
4127
Views
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"
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Nov 23
|
3378 | ||
|
|
2
Jan 25
|
3999 | ||
|
|
2
Feb 24
|
6848 | ||
|
|
1
Jul 23
|
3648 | ||
|
|
0
May 23
|
4917 |