Commit Graph

7 Commits

Author SHA1 Message Date
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 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 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 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 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 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
openerp-sle dd3122c050 [IMP] Taxes report converted to QWeb
bzr revid: openerp-sle@openerp-sle.home-20140213173910-w1srnhcyrwhrox1h
2014-02-13 18:39:10 +01:00