Commit Graph

9 Commits

Author SHA1 Message Date
Simon Lejeune 0304f71112 [FIX] Small changes in barcode controller and set default values when creating paper format
bzr revid: sle@openerp.com-20140221101520-tg522m1w38jdp55p
2014-02-21 11:15:20 +01:00
Simon Lejeune 8930e494d0 [FIX] Qweb-PDF: fixed 'werkzeug relative links' (like src='/report/getbarcode/QR/texttext') by setting a base_url and passing the cookie header to wkhtmltopdf. ; Barcode Controller: added possibility to set image size.
bzr revid: sle@openerp.com-20140220111323-z6zuic6lg77zutqb
2014-02-20 12:13:23 +01:00
Simon Lejeune ac0641d21c [IMP] Added a simple controller to generate barcode
bzr revid: sle@openerp.com-20140219142649-5ekx9pjvje45jclv
2014-02-19 15:26:49 +01:00
Simon Lejeune fabc1cdd40 [FIX] renamed ir.actions.report.paperformat model to report.paperformat, renamed html_skeleton to html_container in report layouts and renamed paperformat.py file to report_paperformat.py
bzr revid: sle@openerp.com-20140218155347-tfxlndg9wgaw0bv1
2014-02-18 16:53:47 +01:00
Simon Lejeune 68115b2c6f [IMP] Merge the pdf documents into a StringIO and not a File
bzr revid: sle@openerp.com-20140218131414-khmd3gy8dbjedmrg
2014-02-18 14:14:14 +01:00
Simon Lejeune 3c6c3d91d5 [IMP] qweb-pdf reports are now downloaded instead of being openned in a popup. It is done by using the 'session.get_file' of the webclient.
bzr revid: sle@openerp.com-20140218125322-yym87kc2c0guhgg2
2014-02-18 13:53:22 +01:00
openerp-sle f43f978427 [FIX] Use the local bootstrap
bzr revid: openerp-sle@openerp-sle.home-20140216110430-sbzd306ufay3ukxn
2014-02-16 12:04:30 +01:00
openerp-sle 8dbd892d8b [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
2014-02-12 19:09:34 +01:00
openerp-sle 5fa1be1303 [IMP] Added the default controller for the generic html reports (reports not needing data to be preprocessed)
bzr revid: openerp-sle@openerp-sle.home-20140212180025-c3p4xnixd3sty7gh
2014-02-12 19:00:25 +01:00