How To Show Customer's Tags Fields in Customer List of POS
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
2274
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 upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 23
|
1092 | ||
|
2
Jan 25
|
1649 | ||
|
2
Feb 24
|
3778 | ||
|
1
Jul 23
|
1787 | ||
|
0
May 23
|
2591 |