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

I need to add the customer/client name and also the invoice number to the POSBOX receipt.

I understand that the POSBOX receipt is defined in:

/usr/lib/python2.7/site-packages/odoo/addons/point_of_sale/static/src/xml/pos.xml

I have been able to add other static customizations to the layout, but I need to pull both Client name, VAT number and invoice number to the POSBOX receipt.


I have followed instructions on the following threads:

http://parikshitvaghasiya.blogspot.com/2015/09/how-can-we-add-cutomer-name-to-pos.html

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

https://www.odoo.com/forum/help-1/question/how-to-alter-the-pos-receipt-37199

https://www.odoo.com/forum/help-1/question/how-can-i-add-cutomer-name-to-pos-receipt-90881


But always get the following error:

Odoo Client Error Uncaught Error: QWeb2 - template['PosTicket']: Runtime Error: TypeError: Cannot read property 'name' of undefined http://localhost:8069/web/js/web.assets_common/81dc859:1020

Any pointers appreciated.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 19
4961
1
มิ.ย. 18
2812
0
ต.ค. 15
3409
2
ม.ค. 19
2212
8
เม.ย. 23
38598