Thanks to Yannick's comments, I managed to get stuff installed.
Here's how I did it. It's certainly not the best way, but at least my way :)
â¢ Install bzr
apt-get install bzr
â¢ Create an addons folder, I did it on /opt/openerp-custom
bzr branch lp:account-invoice-report/7.0 account-invoice-report
bzr branch lp:sale-reports/7.0 sale-report
bzr branch lp:account-financial-report/7.0 account-financial-report
bzr branch lp:webkit-utils webkit-utils
ln -s ../sources/sale-report/sale_order_webkit/ sale_order_webkit
ln -s ../sources/account-invoice-report/invoice_webkit/ invoice_webkit
ln -s ../sources/webkit-utils/base_headers_webkit/ base_headers_webkit
ln -s ../sources/webkit-utils/report_webkit_chapter_server/ report_webkit_chapter_server
(do the same for financial reports if you need them)
â¢ Install wkhtml2pdf
Go to http://code.google.com/p/wkhtmltopdf/ and download the latest wkhtmltopdf (people were saying that the static version was best, forgot to note source, sorry)
tar -xvf wkhtmltopdf-0.11.0_rc1-static-i386.tar
mv wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
â¢ Update OpenERP configuration.
addons_path = /usr/lib/pymodules/python2.7/openerp/addons,/opt/openerp-custom/addons
(make sure your default addons_path is /usr/lib/pymodules/python2.7/openerp/addons. You can check that in the server log, the path is given on startup)
service openerp restart
â¢ Go to web interface
Make sure your admin users has technical capabilities (else edit your user in Conf / Users, access rights tab and check "Technical features")
â¢ Update modules list
Under Configuration / Modules, click "Update Modules list"
â¢ Go to "Installed modules"
In the search bar, remove the "Installed" tag and search for "webkit" instead.
You should see the modules that are in /opt/openerp-custom/addons
Go to Configuration Header/Footers for Webkit and edit "Base Reports Portrait Header"
Specify your company there.
Try to print a quote, cross fingers :)
Edit headers and footers in Configuration / Header-Footers for Webkit
I edited the "Base Reports Portrait Header"
Edit templates in Configuration / Action / Reports. I edited sale.order
If you use custom fonts, add them to the system (I added them to /usr/share/fonts/truetype and ran fc-cache -fv )
Hope this will save someone some hours trying to find out how to install that :)