Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4271 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 24
14097
1
mrt. 24
3546
2
nov. 21
4096
2
jan. 24
4620
2
jun. 24
12184