콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
8573 화면

Hello :) i'm a happy user of the wonderfull Odoo V9 community edition :)

I'm using it on a Debian Jessie serveur with Nginx where Odoo was instaled thru the nighly builds Odoo package.

Everything is working fine except when i want to print.

When i would print a quote, an invoice, on someone else i always have this error:

[code]

TypeError: this.contentDocument is null

https://evartcreativ.net/web/content/6713-1faa9da/web.assets_common.js:2552

Retraçage :

get_file/$target<@https://my-domain.tld/web/content/6713-1faa9da/web.assets_common.js:2552:236

jQuery.event.dispatch@https://my-domain.tld/web/content/6713-1faa9da/web.assets_common.js:740:378

jQuery.event.add/elemData.handle@https://my-domain.tld/web/content/6713-1faa9da/web.assets_common.js:713:151

[/code]

in another way when i would send a document by mail i have this error:

[code]

Wkhtmltopdf a échoué (code d'erreur : -6). Message : The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display

[/code]

is someone have an idea to where i should look to solve there issues ?

thank you very much by advance for your help :)


아바타
취소
작성자 베스트 답변

Ok i have solved to issue.


i had installed the jessie package. Which is not the best way.

then I've removed it in root: (that's why there are no "sudo" prefix)

apt-get remove --purge wkhtmltopdf

downloded and installed the last release (at this day) on the official website, installed it, and restart odoo:

cd ~

wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb

dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb

sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/

service odoo restart


all is fine now :)

아바타
취소
관련 게시물 답글 화면 활동
3
3월 25
11871
3
2월 24
3113
1
3월 20
5458
1
4월 19
5480
1
7월 16
6974