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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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.
42 - HTML report definition
43 - Multi header support
45 - Multi company support
46 - HTML and CSS-3 support (In the limit of the actual WebKIT version)
49 - Book printing capabilities
51 - Paper size definition
53 Multiple headers and logos can be defined per company. CSS style, header and
54 footer body are defined per company.
56 For a sample report see also the webkit_report_sample module, and this video:
57 http://files.me.com/nbessi/06n92k.mov
59 Requirements and Installation:
60 ------------------------------
61 This module requires the ``wkthtmltopdf`` library to render HTML documents as
62 PDF. Version 0.9.9 or later is necessary, and can be found at
63 http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits).
65 After installing the library on the OpenERP Server machine, you need to set the
66 path to the ``wkthtmltopdf`` executable file on each Company.
68 If you are experiencing missing header/footer problems on Linux, be sure to
69 install a 'static' version of the library. The default ``wkhtmltopdf`` on
70 Ubuntu is known to have this issue.
75 * JavaScript support activation deactivation
76 * Collated and book format support
77 * Zip return for separated PDF
82 'author': 'Camptocamp',
83 'category': 'Reporting', # i.e a technical module, not shown in Application install menu
84 'url': 'http://http://www.camptocamp.com/',
85 'data': [ 'security/ir.model.access.csv',
87 'wizard/report_webkit_actions_view.xml',
93 "report/webkit_report_demo.xml",
99 'auto_install': False,
100 'images': ['images/companies_webkit.jpeg','images/header_html.jpeg','images/header_img.jpeg'],
103 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: