From cf1a555ca2bc474ead1ef4fc063e8210678800d9 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Fri, 30 Apr 2021 08:43:02 +0000 Subject: [FIX] point_of_sale: no black backgrounded receipt Like commit odoo/odoo@1c5c762f3cd6329ad56149616f836b39efe68148 On some device (like Android Mobile) where the background is printed, the receipt (which is white) is surrounded by a black background. This commit fixes it by matching the receipt background (cf. white) for the whole document and avoiding to print unnecessary background colors. opw-1940434 --- addons/point_of_sale/static/src/css/pos.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 3c9798779c1..e1dd21e76e8 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1696,6 +1696,9 @@ td { } @media print { + body { + background: white; + } body * { visibility: hidden; } -- cgit v1.2.3