summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/messaging_initializer
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-22 15:09:45 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-08-06 12:29:29 +0000
commitfeafc6728033731c8fe4382fd73cc0b194ab1fbe (patch)
tree85038e45267fdcbb840d4f6e8caa5757337bfe54 /addons/mail/static/src/models/messaging_initializer
parent1f87150da2150326e331fdcdc76fc0ede1871c1d (diff)
[FIX] report: Font size decrease when adding too much content
From the Sale app create a new Quotation with a long customer reference. Click on "Save" and then Print. In the generated report the fields relative to the order details are not correctly displayed: the general font size is scaled down to make the text fit the page which is not the correct behavior. The font size should remain fixed and all the element should be visible, eventually spanning over multiple lines. This is due to the broken bootstrap support of QtWebKit, used by wkhtmltopdf to generate pdf reports. In particular the new flexbox style introduced in the library is not supported and every element based on it will be ill-displayed. The solution is to fall back to the subset of supported features to implement a different solution, which keep everything on one line but avoid the font resizing and every possible overflow. opw-2261573 closes odoo/odoo#55555 X-original-commit: 2dd3ed327aad6fecdcfd4b53c4338bf47e44401b Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_initializer')
0 files changed, 0 insertions, 0 deletions