Skip to Content
Menu
This question has been flagged

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.

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 19
3754
1
Jun 18
2022
0
Oct 15
2637
2
Jan 19
2212
8
Apr 23
38593