Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
1271 Tampilan

how i can added the date in the header in pos receipt


Avatar
Buang
Jawaban Terbai

Hi,

Please refer to the below documentation to learn about the POS receipt customization.

https://www.cybrosys.com/odoo/odoo-books/odoo-16-development/point-of-sales/customize-customer-receipts/


Hope it helps

Avatar
Buang
Penulis Jawaban Terbai

i am using odoo 17 online how i can do it 

Avatar
Buang
Jawaban Terbai

Hi,


If you are using odoo 16, you can inherit the OrderReceipt template and 

add the date just after the contact details(in header) in pos order receipt,

you can do as follows:


        



Add this code in your custom module in static/src/xml/OrderReceipt.xml


Modify the xpath based on your requirement


Hope this will Help you

Thanks

Avatar
Buang