Skip to Content
Menu
This question has been flagged
2 Replies
898 Views

Hi all,

I've got a problem with an odoo installation that is working for years without any problems.

I'm working with odoo Version 8.0-20161103 in a docker image on an Ubuntu 16.04.7 LTS within VMWare appliance on a Windows 10 machine. I'm printing my invoides as PDF with a Watermark configured in my external.layout.header like this:

<?xml version="1.0"?>
<t t-name="report.external_layout_header">
    <div class="header">
        <div class="first-page" style="position:absolute;opacityX:0.25;width:100%;text-align:center;z-index:1000;top:0px;left:0px;">
            <img src="https://my.domain/Briefpapier-Seite1.png" style="width:100%"/>
        </div>        
        <div class="not-first-page" style="position:absolute;opacityX:0.25;width:100%;text-align:center;z-index:1000;top:0px;left:0px;">
            <img src="https://my.domain/Briefpapier-SeiteX2.png" style="width:100%"/>
        </div>        
    </div>
</t>

This works fine!!

Now I needed to transfer the VM from my Windows 10 host to a fresh installation of ESXi. As far as I can remember I did no changes to the VM itself. Everything seems to be ok except that the invoice takes more than a minute (it was 3 seconds before) to get created and the result is an invoice without the watermark. 

I tried if i can reach the images that I want to integrate in the PDF from inside of the VM and this was possible. 

There is no error message in the Docker Log.

Any idea where and how I can fix this?

Avatar
Discard
Best Answer

Hi,

can you try adding/updating the report.url in the system parameters and see, whether it makes any difference.

See: https://www.youtube.com/watch?v=lC9p_QJUW1Q

Avatar
Discard
Author Best Answer

Yeah!!!!

Great, that solved my problem.
Thank you very much.

Avatar
Discard