Simon Lejeune
|
4975d2b9dc
|
[FIX] fixed report translation and translate overdue report into partner's lang
bzr revid: sle@openerp.com-20140403143235-mpw30fq4j2nyov6x
|
2014-04-03 16:32:35 +02:00 |
Simon Lejeune
|
2c90fad7ac
|
[REF][IMP] report module: merge the four report's routes into one; extra report arguments are passed json encoded (therefore removed the _eval_params method); added an abstract_report model to wrap old-style report without touching them; Removed formatLang method from report as it is embeded in the old-style report localcontext; moved the save_in_attachment logic in a method for readability; adapted the action manager to encode data and context of action if needed; fixed the post install test to test the generic report
bzr revid: sle@openerp.com-20140402162344-3lrako0jepmhasvl
|
2014-04-02 18:23:44 +02:00 |
Simon Lejeune
|
c771903c3b
|
[IMP] account* reports: removed rml, added qweb template, changed the wizard to return qweb actions
bzr revid: sle@openerp.com-20140327182520-uu7ezsqic30x7mqo
|
2014-03-27 19:25:20 +01:00 |
Simon Lejeune
|
b6f6f8614a
|
[FIX] Handle the case where website is installed but the pdf generation is not called in a website request context
bzr revid: sle@openerp.com-20140324174630-43wi6nlh6bigaq7g
|
2014-03-24 18:46:30 +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
|
1128743932
|
[FIX] Added the decorator website on the get_file route, correctly pass the context on the mrp bom structure and allow to install report module without pypdf installed
bzr revid: sle@openerp.com-20140321122103-mzp465s8hxckq4ai
|
2014-03-21 13:21:03 +01:00 |
Simon Lejeune
|
e06cefb4be
|
[FIX] Correctly separate website variable between report and website_report layouts
bzr revid: sle@openerp.com-20140321111742-rzkykk00z6fbum8d
|
2014-03-21 12:17:42 +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
|
ad50d5fcfe
|
[FIX] Multiple improvements in report including giving formatlang a cursor and a uid via a lambda method, cleaning of some comments and restoring the page numbering
bzr revid: sle@openerp.com-20140320165841-21clvch4ujak1y3m
|
2014-03-20 17:58:41 +01:00 |
Simon Lejeune
|
d941bce076
|
[FIX] Adapted mrp bom structure (exit controller, added model)
bzr revid: sle@openerp.com-20140320142520-3qapc7039q46eg9k
|
2014-03-20 15:25:20 +01:00 |
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 |