Skip to content
Health
69/100
fair
  • Security19/25
    2 minor findings
  • Activity0/25
    Last human commit 125 months ago
  • Required by25/25
    15 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
15
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.3 MB
Module directory on disk
Code analysis 17 migration notes 1 model 5 views 0 HTTP endpoints

Description

This module adds a new Report Engine based on WebKit library (wkhtmltopdf) to support reports designed in HTML + CSS.

The module structure and some code is inspired by the report_openoffice module.

The module allows:

- HTML report definition
- Multi header support
- Multi logo
- Multi company support
- HTML and CSS-3 support (In the limit of the actual WebKIT version)
- JavaScript support
- Raw HTML debugger
- Book printing capabilities
- Margins definition
- Paper size definition

Multiple headers and logos can be defined per company. CSS style, header and footer body are defined per company.

For a sample report see also the webkit_report_sample module, and this video: http://files.me.com/nbessi/06n92k.mov

Requirements and Installation:

This module requires the wkhtmltopdf library to render HTML documents as PDF. Version 0.9.9 or later is necessary, and can be found at http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits).

After installing the library on the OpenERP Server machine, you may need to set the path to the wkhtmltopdf executable file in a system parameter named webkit_path in Settings -> Customization -> Parameters -> System Parameters

If you are experiencing missing header/footer problems on Linux, be sure to install a 'static' version of the library. The default wkhtmltopdf on Ubuntu is known to have this issue.

TODO:

* JavaScript support activation deactivation
* Collated and book format support
* Zip return for separated PDF
* Web client WYSIWYG

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report.xml.inherit ir.actions.report.xml Inherits base.act_report_xml_view
currency_del_img res.company.form.inherit res.company form Inherits base.view_company_form
header_img res.company.header.img ir.header_img form New
header_webkit res.company.header.html ir.header_webkit form New
view_report_webkit_actions Report Webkit actions wizard report.webkit.actions form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…