summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2019-10-09 11:54:11 +0000
committerfw-bot <otis@odoo.com>2019-10-11 08:23:23 +0000
commit93deb095c819771080199c42c87db178ce9a2acd (patch)
tree66d4ce6d779c8d8409002fa7fb61f16fbed95fcb /doc/reference
parent3a2c69edbf4015107d5e68104e1c28bf74fcd1d8 (diff)
[FIX] point_of_sale: Scrollbar on receipt print
A scrollbar appeared every time a receipt was printed. To fix this, we put a height of 0 to the div that contains the receipt. html2canvas then had trouble computing the height of the background. There's a `height` option that can be given to the library but if the logo on the receipt was not loaded yet, the size we computed was wrong. We then compute the height only once the images have been loaded, in the `onparsed` method. We also remove a CSS class that wasn't used anymore. X-original-commit: 84418ae5bc1509c2c45323ecf6aed4ce4811f4d5
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions