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
- 会計
- 在庫
- PoS
- プロジェクト
- MRP
この質問にフラグが付けられました
1
返信
3121
ビュー
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 |