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

Unable to find Wkhtmltopdf on this system. The report will be shown in html

아바타
취소
작성자

thank you, Abdullah Sofan it is the solution :)

Glad it worked. Can you click on the check mark on the left of my answer?

작성자

i can not because my i have only 17 karma point

베스트 답변

This is for Windows:

  1. First, download and install wkhtmltopdf for your version of windows (32 bit or 64 bit).
  2. Once it's installed, go to Openerp/odoo and go to Settings> Users and click on your user
  3. Click edit and scroll down and look for "Technical Features" is enabled / checked.
  4. Click Apply, then log out of Odoo and then login
  5. Go to Settings again and now you should see several new technical menu items on the left
  6. Go to Settings -> Customization -> Parameters -> System Parameters
  7. Click Add and for Key insert : webkit_path
  8. For value insert: C:\Progra~1\wkhtmltopdf\bin\wkhtmltopdf.exe
  9. Apply and exit and restart Windows.
  10. After you do the above steps, go to System  in Control Panel.
  11. Click on Advanced Settings. The System Properties window will pop up.
  12. In the "Advanced" Tab, Click on "Environment Variables"
  13. In the "System variables", scroll down until you find the "Path" variable and double click. !!!!!NOT user variables
  14. inside the "Variable value" field, add this to the end: ;C:\Program Files\wkhtmltopdf\bin
  15. Click OK and then reboot your system.

I hope this helps.

아바타
취소

Can you help me implement the steps?
because I can't find Technical Features in Users

작성자 베스트 답변

On windows , i install the wkhtmltopdf  package and i define in the parameter system the path but he don't work

아바타
취소
베스트 답변

Eaither you installed your wkhtmltopdf from repository (and got version 0.9 ) or did not install it at all.. 
If installed from repo, you have to remove it first (apt-get purge wkhtmltopdf ) and then install from source or better yet.. 
from python pip... (if you don't have it: apt-get install python-pip on ubuntu servers) 
and then : pip install wkhtmltopdf 

Ubuntu official repos still holds version 0.9
odoo reporting needs at least version 0.12
pip install version 2.0 (if no version is specified) 

 

hope it helps..

아바타
취소