From 8e01d8e969242c6201929fa77ec2ac3a377c4bf4 Mon Sep 17 00:00:00 2001 From: Antoine Prieels Date: Tue, 20 Oct 2020 14:19:02 +0000 Subject: [PATCH] [FIX] point_of_sale: Receipts cut in browser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bottom of long receipts was missing when printing through the browser printing dialog. opw-2362522 closes odoo/odoo#60456 X-original-commit: f48fa3e33e0174f6f2eb59210532859997046856 Signed-off-by: pimodoo Signed-off-by: Antoine Prieƫls --- addons/point_of_sale/static/src/css/pos.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 1237600102b..a4162c890ba 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1693,8 +1693,11 @@ td { body * { visibility: hidden; } + .pos, .pos * { + position: static !important; + } .pos .receipt-screen .pos-receipt-container { - position: fixed; + position: absolute !important; top: 0; left: 0; } @@ -1704,7 +1707,7 @@ td { color: black !important; } .pos .pos-receipt { - margin: 0; + margin: 0 !important; margin-left: auto !important; margin-right: auto !important; border: none !important;