diff options
| author | Romeo Fragomeli <rfr@odoo.com> | 2021-04-30 08:43:02 +0000 |
|---|---|---|
| committer | Romeo Fragomeli <rfr@odoo.com> | 2021-05-31 09:01:08 +0000 |
| commit | cf1a555ca2bc474ead1ef4fc063e8210678800d9 (patch) | |
| tree | c137a6acc2d7ff9b01fbe218b9c05e69bb3238b8 /addons | |
| parent | 3bae864d1e587e87262c56f1c5f789ac6a6fabc4 (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/static/src/css/pos.css | 3 |
1 files changed, 3 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 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; } |
