OpenERP: Webkit Report Settings

Install report_webkit

Install report_webkit report module, webkit library, and wkthtmltopdf.

This module requires the wkthtmltopdf library to render HTML documents as PDF. Version 0.9.9 or later is necessary, and can be found at for Linux, Mac OS X (i386) and Windows (32bits). 

After installing the library on the OpenERP Server machine, you need to set the PATH to the wkthtmltopdf executable file on each Company.

Create Action Reports

Menu Settings > Technical > Action > Reports

Create New


Name: the report name
Service Name: <model>.<unique number>
Object: model name
Report Type: webkit

On the Webkit tab:
Header: select one of the available header.

The Webkit Template: the report template in HTML, example:

% for o in objects :
<style type="text/css">
.page {page-break-after: always}
   <div class="page">
      <table border="1" width="100%">
      % for a in o.attendee_ids :
      % endfor
% endfor


Create Action Button

Save the Action Report.

Click the button Print > Add Print Buttons


This will create an Action Binding record automatically.

New Print button will be shown up in the model form and list view.



This is just some topic covered in our Technical Training (Unofficial). More information about the training , please contact us:

Grand Surapati Core Blok C-16
Jl PHH Mustofa  136 Bandung
Telephone : +62 (22) 8724 1394
Fax : +62 (22) 8724 1394
Mobile Phone Number : +62 813 2037 9277
Email: akhmad.daniel[at] or info[at]