This question has been flagged
1 Reply
4603 Views

Hi everybody

I've started customizing the POS ticket by adding new fields, custom lay-out etc under point_of_sale/static/src/xml/ in the file pos.xml. 
I've modifief the report so it prints it out in A4 format now.
However I keep getting a small header and footer that shows me data that I absolutely do not want on the report.

Unwanted header:


Unwanted footer: 

In the pos.xml file there is nothing to be found under <t t-name="PosTicket"> that prints this data.
Can anybody tell me where this is coming from and where I can remove it? I can't find it anywhere in Odoo....

Thanks
Yenthe

Avatar
Discard
Best Answer

Yenthe,

This may be in your browser print settings.  In Firefox, I found that after going to Print, and then on the Options tab, there is a header and footer setup.

 

Avatar
Discard
Author

My god, that I didn't think about that.. I just tested this and you are correct! This is printed by default with the print settings from your browser. No wonder I couldn't find anything... Thank you very much. This could have left me searching for hours.