Commit Graph

104 Commits

Author SHA1 Message Date
Christophe Simonis 8cbaf52fd3 Revert "Saas 5 report translation fix sle" 2014-06-26 18:14:44 +02:00
Simon Lejeune 03aaf7af1e [IMP] report; minimal layout is now a qweb template, allowing users to customize it. also make pypdf mandatory to start Odoo 2014-06-26 16:34:31 +02:00
Simon Lejeune 363fa936ab [FIX] earlier set of 'translatable' key in report context 2014-06-11 19:09:46 +02:00
Simon Lejeune 63adb67638 [FIX] fixes #204 : correct report translations by 'cloning' web.layout and website.layout (inherit in primary mode) to avoid constantly synchronise website and website_report + do not wrongly update the context and loose the selected lang 2014-06-11 16:56:54 +02:00
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Richard Mathot e28c810123 [FIX] website: convert non-standard HTML metatag to data attribute 2014-05-26 08:51:38 +02:00
Simon Lejeune 1f97c40c9c [FIX] Report: get the wkhtmltopdf version in a cleaner way with a simple regex 2014-05-21 14:05:18 +02:00
Simon Lejeune 58d3a6f3f7 [FIX] Report: inform the user that he may not print a pdf report while his openerp is running with only one worker; adapt method to extract wkhtmltopdf version to also work on mac where the ouput of '--version' is different from gnu/linux binary 2014-05-21 13:06:31 +02:00
Simon Lejeune 654df600c1 [FIX] Report: less verbose error message 2014-05-21 13:02:59 +02:00
Simon Lejeune 226579a80d [FIX] Report: removed psutil/signal/openerp worker crap 2014-05-21 13:01:42 +02:00
Simon Lejeune 1745c738ee [FIX] Report: double the default height/width of barcode image to avoid a blurred/unusable barcode once integrated in a report 2014-05-21 12:59:05 +02:00
Simon Lejeune 4019b2b334 [FIX] Report: do not raise when wkhtmltopdf returns a code 1. In most cases, it is due to some http requests which did not success *but* the pdf is still acceptable. Far from the best commit ever, but it avoids to completely crash when just a link to an image is wrong 2014-05-21 12:56:56 +02:00
Simon Lejeune 35c5e56718 [FIX] address div more to the left on external reports 2014-05-21 11:57:45 +02:00
Fabien Meghazi 8eed143112 [IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty 2014-05-13 11:35:45 +02:00
Quentin (OpenERP) 70eb74a260 [MERGE] merged with trunk up to revision 9425. Needs to find another icon for Traceability on lot, though
bzr revid: qdp-launchpad@openerp.com-20140507182917-erjammra4okyei1c
2014-05-07 20:29:17 +02:00
Christophe Simonis b8089a1521 [MERGE] forward port of branch saas-4 up to revid 9410 chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1
bzr revid: chs@openerp.com-20140507170112-bjeltv2b0coy60am
2014-05-07 19:01:12 +02:00
Josse Colpaert 8b84615de1 [MERGE] Merge from trunk test
bzr revid: jco@openerp.com-20140502130352-c3h1fk332eqyd78b
2014-05-02 15:03:52 +02:00
Simon Lejeune 7ad6d7a150 [FIX] Report: usage of ids in get_action more consistent: only pass them when they are useful, else pass an empty list
bzr revid: sle@openerp.com-20140502130310-106au0jsza0b3nwe
2014-05-02 15:03:10 +02:00
Antony Lesuisse 7e25b9ae55 [MERGE] saas-4 report_webkit missing dependency on report
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Fabien Meghazi 8474a2ed6f [MERGE] Web assets moved from manifests to ir.ui.view bundles
bzr revid: fme@openerp.com-20140430151509-mme5st89o1hj4zcs
2014-04-30 17:15:09 +02:00
Simon Lejeune 437bf4e04f [MERGE] trunk
bzr revid: sle@openerp.com-20140429170245-y02h8z7elx7pu5km
2014-04-29 19:02:45 +02:00
Simon Lejeune 5957efbde9 [MERGE] trunk
bzr revid: sle@openerp.com-20140428093503-mhb4nd70u8ctoyok
2014-04-28 11:35:03 +02:00
Fabien Meghazi 4f16d15120 [IMP] rename editor assets
bzr revid: fme@openerp.com-20140425101753-gz6c8q9huw9c04yp
2014-04-25 12:17:53 +02:00
Quentin (OpenERP) 7a6b00b651 [MERGE] merged with trunk up to revision 9381
bzr revid: qdp-launchpad@openerp.com-20140425090414-vpg4szws9y4fgznc
2014-04-25 11:04:14 +02:00
Fabien Meghazi 1c4e2cfd22 [IMP] bundlify addons (except website)
bzr revid: fme@openerp.com-20140424172129-ze74eaz2eaidmxhm
2014-04-24 19:21:29 +02:00
Simon Lejeune b667f6a292 [MERGE] trunk
bzr revid: sle@openerp.com-20140422124030-gowf9zyx1d36j01g
bzr revid: sle@openerp.com-20140424124655-95ex30m25soiu4wd
2014-04-24 14:46:55 +02:00
Simon Lejeune f340fc33ea [MERGE] saas-4
bzr revid: sle@openerp.com-20140423141323-8rlqxuovo720hbyg
2014-04-23 16:13:23 +02:00
Simon Lejeune d65b9c5e4c [FIX] report: correct xpath to select paper format in the company form
bzr revid: sle@openerp.com-20140423132805-a5kdtvu052hdzbrr
2014-04-23 15:28:05 +02:00
Christophe Simonis 9ed196bc81 [FIX] report: set a default paperformat for companies, based on rml paperformat
bzr revid: chs@openerp.com-20140423132100-t6lmyd8qymoo4wqq
2014-04-23 15:21:00 +02:00
Simon Lejeune 7088ddc3be [FIX] report footer: hide footer from external layout if a custom footer is set; use company.website instead of request.website.name
bzr revid: sle@openerp.com-20140423125104-38mrhuov0snti7js
2014-04-23 14:51:04 +02:00
Antony Lesuisse fafe368331 [FIX] report explicitly import tests
bzr revid: al@openerp.com-20140422122155-jw89nc4g0m12mhvo
2014-04-22 14:21:55 +02:00
Simon Lejeune 7e8dcc5600 [IMP] l10n_be and l1n_fr reports converted to QWeb
bzr revid: sle@openerp.com-20140422121105-osvy8ji5v40t70jf
2014-04-22 14:11:05 +02:00
Simon Lejeune afd490c984 [REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code:  pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order

bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 12:49:54 +02:00
Quentin (OpenERP) 398d96f273 [MERGE] merged trunk up to revision 9327
bzr revid: qdp-launchpad@openerp.com-20140414094743-hv0u7qhigv1to2uc
2014-04-14 11:47:43 +02:00
Simon Lejeune e1bf5bd97c [IMP] Report: renamed 'render_doc' method as 'translate_doc' for better understanding and added it a 'lang_field' attribute to explicitely set the lang. Adapted report_invoice, report_saleorder, report_overdue and report_intrastatinvoice this way.
bzr revid: sle@openerp.com-20140408134953-vql9ft8cosoanixt
2014-04-08 15:49:53 +02:00
Simon Lejeune 9660a92a91 [FIX] regression when fixing specific paperformat argument on a template
bzr revid: sle@openerp.com-20140407151515-dxdxjt60ld7jn2cs
2014-04-07 17:15:15 +02:00
Simon Lejeune d908d26c7c [REV] revert revid9276 (no need to include formatLang as qweb has since introduced t-esc-options)
bzr revid: sle@openerp.com-20140407133313-re7xwd5190hk6zqi
2014-04-07 15:33:13 +02:00
Simon Lejeune 0c07efd194 [FIX] Remove bootstrap default min-height on an empty row in the header, added a max-height on the header logo
bzr revid: sle@openerp.com-20140404130154-utzdx2gqhfl2bp0n
2014-04-04 15:01:54 +02:00
Simon Lejeune bf41efa40b [FIX] regression on rpc call to check wkhtmltopdf presence/version
bzr revid: sle@openerp.com-20140404124724-dves3liepcbmg6rv
2014-04-04 14:47:24 +02:00
Simon Lejeune 91a78667ba [FIX] Report: insert formatLang in the rendering environment if not present; Sale_layout: use formatLang on the subtotal
bzr revid: sle@openerp.com-20140404121128-puvr1zs244lit5m2
2014-04-04 14:11:28 +02:00
Simon Lejeune a1f08e0d10 [FIX] action manager: use EncodeURIComponent instead of EncodeURI because of bad encoding of the ampersand in the secund (resulting in impossibility to encode 'Belgium Profit & Loss' for instance)
bzr revid: sle@openerp.com-20140403211717-sb84ir2ts62yizzf
2014-04-03 23:17:17 +02:00
Simon Lejeune 3a917639c8 [FIX] report: there are not always ids in get_pdf...
bzr revid: sle@openerp.com-20140403165051-e6sg419c19xv3w7b
2014-04-03 18:50:51 +02:00
Simon Lejeune ff1e5edcea [FIX] guess the language in which the document must be translated without triggering an orm warning
bzr revid: sle@openerp.com-20140403162138-6yvh3q24n39tdi4r
2014-04-03 18:21:38 +02:00
Simon Lejeune d5c06607b6 [FIX] Report: in the save_in_attachment logic, when a single report is printed, use the id passed in argument to identify it (and not the qweb branding)
bzr revid: sle@openerp.com-20140403160133-4axmxhw7bq2yf94l
2014-04-03 18:01:33 +02:00
Simon Lejeune 126d61796a [FIX] abstract_report: correctly pass the active ids in wrapped_report.set_context, fix analytic journal from ir.ui.menu by setting a consistent context
bzr revid: sle@openerp.com-20140403154856-s3i220d6w1yw4e5s
2014-04-03 17:48:56 +02:00
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
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 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