Commit Graph

11 Commits

Author SHA1 Message Date
Simon Lejeune a82c186611 [IMP] Added a route to check presence and version of wkhtmltopdf. If the soft is not present, qweb-pdf fallback on qweb-html mode.
bzr revid: sle@openerp.com-20140227144810-d14iwu5pudmrshh9
2014-02-27 15:48:10 +01:00
Simon Lejeune ffa475afcd [IMP] Added the possibility to define ultra-specific reports outputing any king of file. These reports are of type 'controller' because they redirects to a controller that must returns a response containing the http headers 'content-type' and 'content-disposition'. The route for this controller is specified in the report_file field. Added an XLS version of the tax report for the POC (testable by setting 'report_vat' type to controller and setting '/report/account.report_vat_xls' in the 'report_file' field).
bzr revid: sle@openerp.com-20140221163320-g5ouoywsuduoi0qe
2014-02-21 17:33: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 1be06b0a67 [IMP] Independance from the website module: moved the editor into a 'website_report' module
bzr revid: sle@openerp.com-20140219105327-xx2jaqu4dvhv5goh
2014-02-19 11:53:27 +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
openerp-sle 488e8390c6 [IMP] Report model: added an 'eval_params' method that will convert a dict originated from jquery.param into a python dict
bzr revid: openerp-sle@openerp-sle.home-20140213173709-c8pzw0htrj0il53z
2014-02-13 18:37:09 +01:00
openerp-sle 305896b598 [IMP] Report model: added support for datas in 'get_action' method
bzr revid: openerp-sle@openerp-sle.home-20140213151248-rwlaebo32edot4a7
2014-02-13 16:12:48 +01:00
openerp-sle d2cdf5c0eb [IMP] Report model: added a method to easily returns a pdf and another to easily generate a report action
bzr revid: openerp-sle@openerp-sle.home-20140212181202-8kuc6cap1oymgjn3
2014-02-12 19:12:02 +01:00
openerp-sle 7b66c1e35f [IMP] Report model: Added a 'render_doc' method that renders a template into the associated partner's lang (used in invoices for instance).
bzr revid: openerp-sle@openerp-sle.home-20140212173037-889koy9to39xg38c
2014-02-12 18:30:37 +01:00
openerp-sle c3c43a9ce5 [IMP] Report model: Added a 'render' method that redirects to request.websit.render. Reports rendering therefore needs the website module.
bzr revid: openerp-sle@openerp-sle.home-20140212172750-va0dkdavcomwsy87
2014-02-12 18:27:50 +01:00
openerp-sle 71be2de1ef [IMP] Add structure of the 'report' module
bzr revid: openerp-sle@openerp-sle.home-20140212172214-r0n8wzngr1hkp8q0
2014-02-12 18:22:14 +01:00