[IMP] Add structure of the 'report' module
[IMP] Report model: Added a 'render' method that redirects to request.websit.render. Reports rendering therefore needs the website module.
[IMP] Report model: Added a 'render_doc' method that renders a template into the associated partner's lang (used in invoices for instance).
[IMP] Added a 'paperformat' model that will handle properties of pdf documents that are generated from html reports. A company is linked to a default paper format and a report can be linked to a specific paperformat in order to override the default one.
[IMP] Added some default layouts (internal and external with more or less information). The website RTE is called from these layouts, as well as the language selector. Note: currently, the link of the bootstrap 3.1 css points to the official bootstrap site.
[IMP] Added the default controller for the generic html reports (reports not needing data to be preprocessed)
[IMP] Added the route converting all reports to pdf thanks to wkhtmltopdf. The html rendered report is downloaded via werkzeug.test.client and then parsed into an lxml.etree in order to extract only the useful data : local css, header, content and footer. We then generate a minimalist html page that is passed to wkhtmltopdf. Save in attachment feature is handled. A method transform a paperformat object into a list of parameters for wkhtmltopdf. Multiple IDS reports are generated in different pdf merged at the end.
[IMP] Report model: added a method to easily returns a pdf and another to easily generate a report action
[IMP] Sale order report converted to QWeb
[FIX] Report module dependancies
[IMP] Email_template module now handles qweb-pdf report in mail attachment
[IMP] Website: contact widget has now an option to disable fontawesome markers
[FIX] Sale Stock: remove print sale order test
[FIX] Sale: QWeb action returned when clicking on print button on form view
[FIX] Fix bug in report layouts due to 't-att-src' being treated before 't-if' on the same tag
[FIX] More accurate values for the demo paper format and website contact widget enhanced
[MERGE] trunk
[IMP] Report model: added support for datas in 'get_action' method
[IMP] Report model: added an 'eval_params' method that will convert a dict originated from jquery.param into a python dict
[IMP] Taxes report converted to QWeb