[MERGE] forward port of branch 7.0 up to 3a0af6a
[odoo/odoo.git] / addons / report_webkit / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 # Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com)
5 # All Right Reserved
6 #
7 # Author : Nicolas Bessi (Camptocamp)
8 #
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
14 # Service Company
15 #
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.
20 #
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.
25 #
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
29 #
30 ##############################################################################
31
32 {
33     'name': 'Webkit Report Engine',
34     'description': """
35 This module adds a new Report Engine based on WebKit library (wkhtmltopdf) to support reports designed in HTML + CSS.
36 =====================================================================================================================
37
38 The module structure and some code is inspired by the report_openoffice module.
39
40 The module allows:
41 ------------------
42     - HTML report definition
43     - Multi header support
44     - Multi logo
45     - Multi company support
46     - HTML and CSS-3 support (In the limit of the actual WebKIT version)
47     - JavaScript support
48     - Raw HTML debugger
49     - Book printing capabilities
50     - Margins definition
51     - Paper size definition
52
53 Multiple headers and logos can be defined per company. CSS style, header and
54 footer body are defined per company.
55
56 For a sample report see also the webkit_report_sample module, and this video:
57     http://files.me.com/nbessi/06n92k.mov
58
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).
64
65 After installing the library on the OpenERP Server machine, you may need to set
66 the path to the ``wkthtmltopdf`` executable file in a system parameter named
67 ``webkit_path`` in Settings -> Customization -> Parameters -> System Parameters
68
69 If you are experiencing missing header/footer problems on Linux, be sure to
70 install a 'static' version of the library. The default ``wkhtmltopdf`` on
71 Ubuntu is known to have this issue.
72
73
74 TODO:
75 -----
76     * JavaScript support activation deactivation
77     * Collated and book format support
78     * Zip return for separated PDF
79     * Web client WYSIWYG
80 """,
81     'version': '0.9',
82     'depends': ['base'],
83     'author': 'Camptocamp',
84     'category': 'Reporting', # i.e a technical module, not shown in Application install menu
85     'url': 'http://http://www.camptocamp.com/',
86     'data': [ 'security/ir.model.access.csv',
87               'data.xml',
88               'wizard/report_webkit_actions_view.xml',
89               'company_view.xml',
90               'header_view.xml',
91               'ir_report_view.xml',
92     ],
93     'demo': [
94         "report/webkit_report_demo.xml",
95     ],
96     'test': [
97         "test/print.yml",
98     ],
99     'installable': True,
100     'auto_install': False,
101     'images': ['images/companies_webkit.jpeg','images/header_html.jpeg','images/header_img.jpeg'],
102 }
103
104 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: