Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
1242 Vistas

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


Avatar
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

i am using odoo 17 online how i can do it 

Avatar
Descartar
Mejor respuesta

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
Descartar