Skip to content
Snippets Groups Projects
Commit 81feb39a authored by Pedram (PEBR)'s avatar Pedram (PEBR)
Browse files

[FIX] point_of_sale: prevent additional blank page in print receipt


Before this commit, when a user tried to print a receipt, sometimes
an additional blank page was being printed. This was due to the
printed content slightly exceeding the printable area of the page,
leading to an unintended second page.

To solve this issue, I set the height of all elements to 0 during
printing, and explicitly set the height of the receipt container
to auto.

opw-3376131

closes odoo/odoo#127191

Signed-off-by: default avatarJoseph Caburnay (jcb) <jcb@odoo.com>
parent fd508fe4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment