summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/src/css
diff options
context:
space:
mode:
authorJacky (trj) <trj@odoo.com>2021-05-20 08:01:28 +0000
committerJacky (trj) <trj@odoo.com>2021-05-20 10:29:04 +0000
commita54d54c9c479aaee3bafe6e241d89d557a1e0b56 (patch)
tree5cb008435679933977649b1c52cb027eba34a478 /addons/point_of_sale/static/src/css
parent37cea376cc2069388b07b91f50caa6044fa6c932 (diff)
[FIX] point_of_sale: random failure when reprint receipt
Because the `receiptHtml` was taken from a component which was mounted outside of the DOM, it was hardly ever destroyed for some unknown reasons and the `el.outerHTML` could not be taken to create the receipt. closes odoo/odoo#71087 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/static/src/css')
-rw-r--r--addons/point_of_sale/static/src/css/pos.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css
index 6853fce5d8c..3c9798779c1 100644
--- a/addons/point_of_sale/static/src/css/pos.css
+++ b/addons/point_of_sale/static/src/css/pos.css
@@ -2973,6 +2973,10 @@ td {
color: white;
}
+.order-receipt-hidden {
+ display: none;
+}
+
.order-receipt {
color: white;
font-size: medium;