Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
10388 มุมมอง

I try add customer(partner) name on pos ticket I already try the solution proposed in

https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-show-company-logo-and-customer-details-in-pos-ticket-69631

but don't work so any suggestion.



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can add the customer name to POS ticket by using this code,

<div style="width: 55%; float: left; padding: 20px 0px;">
<t t-if="order.get_client()">
Customer: <t t-esc="order.get_client().name"/><br />
</t>
Cashier: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br />
<t t-if="widget.pos.company.phone">
Phone: <t t-esc="widget.pos.company.phone || ''"/><br />
</t>
<t t-esc="order.name"/>
<t t-esc="moment().format('L LT')"/>
</div>

Already there is a community module for this, please check out this app, https://www.odoo.com/apps/modules/11.0/pos_ticket/




Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 23
1749
1
ก.ค. 23
2206
1
พ.ย. 20
3559
POS Ticket - Product price + tax แก้ไขแล้ว
1
มี.ค. 15
7168
0
ธ.ค. 21
2789