1 # -*- coding: utf-8 -*-
2 ##############################################################################
4 # Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com)
7 # Author : Nicolas Bessi (Camptocamp)
9 # WARNING: This program as such is intended to be used by professional
10 # programmers who take the whole responsability of assessing all potential
11 # consequences resulting from its eventual inadequacies and bugs
12 # End users who are looking for a ready-to-use solution with commercial
13 # garantees and support are strongly adviced to contract a Free Software
16 # This program is Free Software; you can redistribute it and/or
17 # modify it under the terms of the GNU General Public License
18 # as published by the Free Software Foundation; either version 2
19 # of the License, or (at your option) any later version.
21 # This program is distributed in the hope that it will be useful,
22 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 # GNU General Public License for more details.
26 # You should have received a copy of the GNU General Public License
27 # along with this program; if not, write to the Free Software
28 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 ##############################################################################
33 "name": "Webkit Report Engine",
35 This module adds a new Report Engine based on WebKit library (wkhtmltopdf) to support reports designed in HTML + CSS.
36 =====================================================================================================================
38 The module structure and some code is inspired by the report_openoffice module.
41 - HTML report definition
42 - Multi header support
44 - Multi company support
45 - HTML and CSS-3 support (In the limit of the actual WebKIT version)
48 - Book printing capabilities
50 - Paper size definition
52 Multiple headers and logos can be defined per company. CSS style, header and
53 footer body are defined per company.
55 For a sample report see also the webkit_report_sample module, and this video:
56 http://files.me.com/nbessi/06n92k.mov
58 Requirements and Installation:
59 -----------------------------
60 This module requires the ``wkthtmltopdf`` library to render HTML documents as
61 PDF. Version 0.9.9 or later is necessary, and can be found at
62 http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits).
64 After installing the library on the OpenERP Server machine, you need to set the
65 path to the ``wkthtmltopdf`` executable file on each Company.
67 If you are experiencing missing header/footer problems on Linux, be sure to
68 install a "static" version of the library. The default ``wkhtmltopdf`` on
69 Ubuntu is known to have this issue.
74 * JavaScript support activation deactivation
75 * Collated and book format support
76 * Zip return for separated PDF
81 "author": "Camptocamp",
82 "category": "Reporting", # i.e a technical module, not shown in Application install menu
83 "url": "http://http://www.camptocamp.com/",
84 "data": [ "security/ir.model.access.csv",
86 "wizard/report_webkit_actions_view.xml",
92 "auto_install": False,
93 "certificate": "001159699313338995949",
94 'images': ['images/companies_webkit.jpeg','images/header_html.jpeg','images/header_img.jpeg'],
97 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: