Skip to Content
Menu
This question has been flagged
1 Reply
3457 Views

Still using Odoo 8 I'm facing a problem with the background image in Odoo 13.

In 8 I did it like that in views/external_layout_header:

<?xml version="1.0"?>
    <t t-name="report.external_layout_header">
        <div class="header">
            <img src="/web/static/src/img/my_fullsize_background_image.png" name="Briefpapier"             width="110%" style="position: absolute; top: 0cm; left: -1cm" border="0" />
    </div>
</t>


How to get the same in Odoo 13?
Tried now for hours without any success. The image is either not show, only shown in one section (div), overlaping to the next page ...
in views/external_layout_xxx as well as in single reports like report_saleorder_document

Any helpful feedback is welcome.

BR

Avatar
Discard
Best Answer

pdftk python library would help you but it will work in "wkhtmltopdf 0.12.1" version only.

If you have latest version of wkhtmltopdf, the image will be overlapped by the content of the report.

Avatar
Discard
Related Posts Replies Views Activity
2
Jan 24
13083
1
Mar 24
2158
2
Nov 21
2640
2
Jan 24
1982
2
Jun 24
11001