Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Guide to install webkit openerp 7 on Ubuntu 12.04 (64bit) server. [Closed]

By
JC
on 4/5/14, 11:07 PM 2,510 views

The Question has been closed

by
Ray Carnes
on 04/06/2014 03:48:34

This guide is intended for experienced user

Step 1

On ubuntu 12.04(64bit) install wkhtmltopdf

sudo wget "http"://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2

sudo bunzip2 wkhtmltopdf-0.9.9-static-amd64.tar.bz2

sudo tar -xvf wkhtmltopdf-0.9.9-static-amd64.tar

sudo mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf

$ wkhtmltopdf --version

Name:

wkhtmltopdf 0.9.6

License: Copyright (C) 2008,2009 Wkhtmltopdf Authors.

License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.

This is free software: you are free to change and redistribute it. There is NO

WARRANTY, to the extent permitted by law.

Authors:

Written by Jakob Truelsen. Patches by Mário Silva, Benoit Garret and Emmanuel Bouthenot.

Make sure this part is working before you proceed with step 2 to avoid confusing error messages.

Step 2

On openerp 7 Install the webkit and sale order sample modules

Search module at apps.openerp.com

report_webkit

base_headers_webkit

sale_order_webkit

Step 3

Logon to openerp7

Settings > Companies > Your Company > Webkit Tab > add sample logo and header

Sales > Sales Order > Create or click on existing Sale Order > Print > Print the report.

Note

1) No need to set webkit_path.

2) You can try other version of wkhtmltopdf here if you get the following error

The command 'wkhtmltopdf' failed with error code = 127. Message: No diagnosis message was provided

OR

The command 'wkhtmltopdf' failed with error code =11 . Message: No diagnosis message was provided

3) Add logo at

Settings > Webkit Logos

4) Add header/footer at

Settings > Webkit Headers/Footers

0

JC

--JC--
807
| 5 1 8
Kuala Lumpur, Malaysia
--JC--

 

JC
On 4/6/14, 12:43 AM

These steps work for me. I hope it could help you too.

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/5/14, 11:07 PM
Seen: 2510 times
Last updated: 3/16/15, 8:10 AM