From ff3b2649f684271f2d920d3b77f92054f9f37bbc Mon Sep 17 00:00:00 2001 From: Pierre Masereel Date: Thu, 27 Feb 2020 15:08:30 +0000 Subject: [PATCH] [FIX] point_of_sale: hide 'loading' text when printing When we are using auto_print without iot box, the 'print()' function on window is called, and if we are validating a invoiced order, the download of invoice will let a blockUI over the receipt screen. To avoid printing 'Loading' on the receipts, we are not displaying the blockUI when we print, as it is never expected. OPW-2199489 closes odoo/odoo#46528 X-original-commit: 54a3ef53e94a756c8635b708b9f187aefc8c5c8b Signed-off-by: Nicolas Martinelli (nim) --- 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 840f2339386..ae66894fd7a 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1569,6 +1569,9 @@ td { .o_chat_window { display: none !important; } + .blockUI { + display: none !important; + } } /* d) The Scale screen */