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
|
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
|
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
|
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
|
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
|
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
|
77e56eea05
|
[REF] Changed seek(0) to flush when manipulating files and reordered the impors
bzr revid: sle@openerp.com-20140313133459-y3zvhhjby8pysew1
|
2014-03-13 14:34:59 +01:00 |
Simon Lejeune
|
5f417a7397
|
[FIX] Removed the ending slash of download attachment routes
bzr revid: sle@openerp.com-20140311171219-j80lkmaezfezptxx
|
2014-03-11 18:12:19 +01:00 |
Xavier Morel
|
b73cef9007
|
[FIX] don't fail installation entirely if pyPdf isn't available
should print an error message though
bzr revid: xmo@openerp.com-20140310083204-9akr4ucwqzbv3oxu
|
2014-03-10 09:32:04 +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
|
258c8b5ee5
|
[FIX] type in the import of the reset stylesheet
bzr revid: sle@openerp.com-20140225144407-li218a3ppz4f8y7z
|
2014-02-25 15:44:07 +01:00 |
Simon Lejeune
|
d64c4a3f17
|
[FIX] mrp: removed empty files and barcode controller value set to path in order to be able to receive URL
bzr revid: sle@openerp.com-20140224151944-dqi63kjvyejp6xja
|
2014-02-24 16:19:44 +01:00 |
Simon Lejeune
|
901172a194
|
[FIX] Workaround to get printing done with 1 worker
bzr revid: sle@openerp.com-20140224134732-imptqwtzyoyml2qq
|
2014-02-24 14:47:32 +01:00 |
Simon Lejeune
|
5557a1152c
|
[IMP] Report controller: little changes to get the barcode route working with reportlab 2.5
bzr revid: sle@openerp.com-20140224120749-nlg3n95vgghxv63y
|
2014-02-24 13:07:49 +01:00 |
Simon Lejeune
|
09d34a8e96
|
[IMP] Report controller: put the css/js as relative links in the minimal html page (they were copied inline)
bzr revid: sle@openerp.com-20140224103329-pmmmcl56mzmynmx5
|
2014-02-24 11:33:29 +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 |
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
|
ac0641d21c
|
[IMP] Added a simple controller to generate barcode
bzr revid: sle@openerp.com-20140219142649-5ekx9pjvje45jclv
|
2014-02-19 15:26:49 +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 |
Simon Lejeune
|
68115b2c6f
|
[IMP] Merge the pdf documents into a StringIO and not a File
bzr revid: sle@openerp.com-20140218131414-khmd3gy8dbjedmrg
|
2014-02-18 14:14:14 +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 |
openerp-sle
|
f43f978427
|
[FIX] Use the local bootstrap
bzr revid: openerp-sle@openerp-sle.home-20140216110430-sbzd306ufay3ukxn
|
2014-02-16 12:04:30 +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 |
openerp-sle
|
5fa1be1303
|
[IMP] Added the default controller for the generic html reports (reports not needing data to be preprocessed)
bzr revid: openerp-sle@openerp-sle.home-20140212180025-c3p4xnixd3sty7gh
|
2014-02-12 19:00:25 +01:00 |