İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4273 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 24
14100
1
Mar 24
3547
2
Kas 21
4097
2
Oca 24
4624
2
Haz 24
12185