[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:
Joseph Caburnay (jcb) <jcb@odoo.com>
Loading