Quentin (OpenERP)
|
fe7b3c66a3
|
[FIX] stock_picking_wave: fixed picking wave report
bzr revid: qdp-launchpad@openerp.com-20140328105254-0n0jm309n2v4q160
|
2014-03-28 11:52:54 +01:00 |
Simon Lejeune
|
d87cd37d67
|
[FIX] removed 'debugger' statement
bzr revid: sle@openerp.com-20140321184347-ph5n6cnywhwasvcf
|
2014-03-21 19:43:47 +01:00 |
Simon Lejeune
|
1b6b320445
|
[FIX] fixed the report type 'controller', fixed the report_vat_xls route
bzr revid: sle@openerp.com-20140321183649-rg8wrlvcrzvv0d29
|
2014-03-21 19:36:49 +01:00 |
Simon Lejeune
|
8581b1847f
|
[IMP] Multiple improvements: eval_param is set on the controller, the subprocess to get the version of wkhtmltopdf is only open at OpenERP start, better exceptions handling (try to avoid exceptions shallowing) and the rpc call from the webclient to know the version of wkhtmltopdf is only done once
bzr revid: sle@openerp.com-20140321164716-uksuu6hsjj7q3698
|
2014-03-21 17:47:16 +01:00 |
Simon Lejeune
|
57e6e8fd28
|
[FIX] Multiples fixes: correct context passing, changed osv.Model to osv.AbstractModel to avoid creating tables in database when the model use for the reports contains only method
bzr revid: sle@openerp.com-20140321105806-0bwo992995la91fe
|
2014-03-21 11:58:06 +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
|
03aa27fcca
|
[IMP] Add link to wkhtmltopdf.org in the webclient notifications
bzr revid: sle@openerp.com-20140227165509-qrdwy0s7xh044zf4
|
2014-02-27 17:55:09 +01:00 |
Simon Lejeune
|
27a232596c
|
[IMP] Add notification on the web client when wkhtmltopdf is not present or too old
bzr revid: sle@openerp.com-20140227154046-hxnhyho6v096hjx8
|
2014-02-27 16:40:46 +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
|
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 |
Simon Lejeune
|
ed9061893a
|
[IMP] Moved the action manager for qweb reports into addons branch
bzr revid: sle@openerp.com-20140218104959-p0nqlizhvynqy4j3
|
2014-02-18 11:49:59 +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 |