summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authoropenerp-sle <openerp-sle@openerp-sle.home>2014-02-12 19:09:34 +0100
committeropenerp-sle <openerp-sle@openerp-sle.home>2014-02-12 19:09:34 +0100
commit8dbd892d8b1528313b71be981575dfe2a441482a (patch)
tree9506c0ce16d560dbbe8213b54d29433fa97469f0 /addons/analytic_user_function
parent5fa1be13034d1c5869aef37c8c9fcbbd0cff507c (diff)
[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.
bzr revid: openerp-sle@openerp-sle.home-20140212180934-dupp8x2ivo52uzib
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions