[FIX] point_of_sale: Receipts cut in browser

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 <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
This commit is contained in:
Antoine Prieels
2020-10-21 13:48:11 +00:00
parent defd6ac925
commit 8e01d8e969
+5 -2
View File
@@ -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;