From dffd4d51f3503987e026ca0edf6a5e4c9a10d192 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Wed, 1 Jun 2016 09:58:47 +0200 Subject: [PATCH] [FIX] point_of_sale: hide QWeb header/footer from non-ESC/POS receipt We allow users to specify QWeb in the header and footer fields of the receipt. Because the browser receipt and the ESC/POS receipt use a different format (HTML and ESC/POS XML respectively) we don't render this QWeb to both receipts. Currently it is only rendered for the ESC/POS receipt. When this is the case however, we shouldn't display the unrendered QWeb on the regular browser receipt. This commit simply hides it. Perhaps in the future we can provide an additional parameter in the