Page 1 of 1

[SOLVED] mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 13:08
by bitit
Good Morning, i have tested odoo10 and odoo11 in mageia7.1, but i have this problem; when i try to print invoice in pdf, i haven't in file header and footer,
if i set the report from pdf to html i see both header and footer .
i have read some documents in the web and the problem seam to be the wkhtmltox version .
https://www.odoo.com/fr_FR/forum/aide-1/question/installing-wkhtmltopdf-odoo-v11-community-version-126290
how i can install wkhtmltox-0.12.1.2 version?
the package in mageia repository , don't seam work
thank you
enrico

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 16:37
by doktor5000
Did you read that thread? They do recommend to install wkhtmltopdf, which is available via Mageia repositories in version 0.12.5: https://madb.mageia.org/package/show/ap ... khtmltopdf
If that version doesn't work for you, then you could try converting the version they offer via alien to an rpm and installing that.

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 16:56
by bitit
i have install the 0.12.5 but , if i print invoice in pdf format , i haven't header anf footer .
whit report in hrml all, work fine
so what can be the problem?

Enrico

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 17:03
by doktor5000
doktor5000 wrote:If that version doesn't work for you, then you could try converting the version they offer via alien to an rpm and installing that.

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 17:22
by bitit

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 4th, '20, 18:17
by bitit
not possible
Code: Select all
Installazione fallita:  il file /usr/local/bin dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64
        il file /usr/local/include dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64
        il file /usr/local/lib dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64
        il file /usr/local/share dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64
        il file /usr/local/share/man dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64
        il file /usr/local/share/man/man1 dell'installazione di wkhtmltox-0.12.1-2.x86_64 entra in conflitto con il file del pacchetto filesystem-2.1.9-30.mga7.x86_64

i must find other way . :(

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 5th, '20, 07:38
by doktor5000
You can simply extract the files from the rpm and copy them manually; https://www.cyberciti.biz/tips/how-to-e ... ng-it.html

Re: mg7.1 wkhtmltox odoo11 - odoo10 problem

PostPosted: Jan 5th, '20, 14:53
by bitit
Fine !! work . thank you .
is necessary install also lib64png12_0
and work properly.

Enrico