Simon Lejeune
|
52522bf0f9
|
[FIX] get_pdf can be called on is own (no need to call get_html before on particular controller-report) and make the multiple ids work
bzr revid: sle@openerp.com-20140320140609-7ozly6f55sgeow7k
|
2014-03-20 15:06:09 +01:00 |
Simon Lejeune
|
221d2a6eeb
|
[FIX] Reports not using the generic controller should not declare a controller anymore. They are now openerp models and are availabel either trough openerp model 'report' with get_html, get_pdf or through a controller. Adapted report_vat this way.
bzr revid: sle@openerp.com-20140320133425-z04ewof8ktjanmn9
|
2014-03-20 14:34:25 +01:00 |
Simon Lejeune
|
1c5a57a129
|
[FIX] email_template now use the new get_pdf method on the report model in order to avoid the blocking bug of generating a pdf with a public request.session
bzr revid: sle@openerp.com-20140319185350-5t8iuvnzikwfajei
|
2014-03-19 19:53:50 +01:00 |
Simon Lejeune
|
060a171a26
|
[WIP] Refactoring report module to avoid using request in OpenERP models : the generation of the html/pdf is now done on the model side and not on the controller side anymore => it is possible to generate a pdf python-side without making a request to an url, request that can be refused because of access right in the request object at this precise moment
bzr revid: sle@openerp.com-20140319183614-vibnmm6kkh2h6piu
|
2014-03-19 19:36:14 +01:00 |
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 |