summaryrefslogtreecommitdiff
path: root/addons/base_geolocalize/models/base_geocoder.py
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-04-03 09:57:30 +0000
committerNicolas Lempereur <nle@odoo.com>2019-04-03 10:05:53 +0000
commit0539dde57671c28c06a79022d98e8bf786d71695 (patch)
tree4851de8d3629cbe69c6b738e6a56b0da25809367 /addons/base_geolocalize/models/base_geocoder.py
parent1fc0b08e146d3c256b05780fa71f26bd1c57fd3f (diff)
[FIX] point_of_sale: background layout header iframe
When a report with header is displayed in iframe with layout "Background", part of the header maybe outside of the page. For example on /my/invoices portal show of an invoice, the max width report iframe can set at 210mm (+/- 793.7px normally), the header in background layout has `min-width: 900px` so is wrongly centered and may have content outside of shown page (eg. company tagline). The same issue happen when using HTML rendering of the report in backend, but depends on the viewport width. This may be the expected configuration when printing (wkhtmltopdf should unzoom if something was too large to fit) but not when displaying html directly. opw-1915807 closes #32373 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/base_geolocalize/models/base_geocoder.py')
0 files changed, 0 insertions, 0 deletions