I manage to change the template for POS receipt on /addons/point_of_sale/static/src/xml/pos.xml which lies within :
<t t-name="PosTicket">
But how to change the detail on PosTicket ?
<t t-name="PosTicket">
.....
<t t-esc="orderline.get_product().display_name"/>
???
I need to add the notes under the orderline.get_product().display_name. What should I write so it can show the notes?
I tried to add
<t t-esc="orderline.get_note()" />
But it seems doesn't work... Anybody know how to fix this?
PS: I already read :
https://www.odoo.com/forum/help-1/question/how-to-alter-the-pos-receipt-37199
Odoo Point of Sale + Posbox : How to modify receipt