Skip to Content
Menú
This question has been flagged
1 Respondre
4268 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
2
de gen. 24
14097
1
de març 24
3545
2
de nov. 21
4094
2
de gen. 24
4620
2
de juny 24
12184