Denis Ledoux
439cdb6871
[FIX] report: print time in user timezone
...
In reports calling the internal headers layout,
e.g. the general ledger,
the print time was displayed in UTC,
while it should be in user tz.
closes #3341
opw-612043
2015-05-18 12:44:36 +02:00
Denis Ledoux
3c61ee5c68
[FIX] report: random disappearance of headers/footers
...
This issue is related to the wkhtmltopdf issue
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2083
It seems there is a race condition in the Javascript file
loading in wkhtmltopdf 0.12.x.
The subst.js file put in the header/footer of reports
was not always loaded when the page was being rendered,
leading to the crash of the onload="subst()" attr in
the body node, leading to the non-rendering
of the header/footer.
Replacing the script file by its content solves
the issue.
Increasing the --javascript-delay of the wkhtmltopdf
executable (e.g. 1000 ms instead of 200 ms,
the default value) seems to solve the problem
as well, but will lead to obvious performance issues.
We therefore choose to put the javascript code inline,
as a workaround,
the time the issue is solved in wkhtmltopdf, at least.
closes #3047,#5548,#6207
opw-633161
2015-04-24 15:55:35 +02:00
Denis Ledoux
19aa7b732b
[FIX] report: overflow of long content in reports colums
...
When having a long, non-breakable, content
within a report column,
e.g. an invoice with a very long, pipe-separated, origin,
the content overflowed on other columns.
Set word-wrap: break-word; prevent this behavior,
and is not considered dangerous regarding the possible
side-effects on the design in the reports layouts.
In fact, we should even consider applying this change
on the webclient itself. A similar issue happens in the form view
when having a field with a long non-breakable content,
e.g. a long, pipe-separated orign in an invoice. Nevertheless,
we should avoid taking risks in stable releases,
and this change in the webclient should therefore be done
carefully in master release.
opw-629352
2015-03-03 12:35:25 +01:00
Simon Lejeune
64fdc4bbcf
[REF] no more hardcoded html in report.py
2014-06-29 15:54:18 +02:00
Simon Lejeune
f24fe427fa
[FIX] remove useless view inheritance correction
2014-06-27 12:04:52 +02:00
Simon Lejeune
fc8592adf2
[FIX] Report: translation fixed, use of 'primary clone' of web.layout and website.layout, minimal template is now a QWeb template
2014-06-27 12:00:49 +02:00
Fabien Meghazi
faa09da325
Removed version="7.0" from form views
2014-06-12 09:09:59 +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
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
4f16d15120
[IMP] rename editor assets
...
bzr revid: fme@openerp.com-20140425101753-gz6c8q9huw9c04yp
2014-04-25 12:17:53 +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
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
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
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
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
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
25b993a62c
[FIX] hide the 'search associated qweb views' button when the report_type is not qweb-pdf/qweb-html
...
bzr revid: sle@openerp.com-20140324162729-k3n6pkhhe8pe6bdp
2014-03-24 17:27:29 +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
Antony Lesuisse
8915f444f3
[IMP] report, form view hide paperformat when not needed
...
bzr revid: al@openerp.com-20140307011359-nyj794c9pzkg64fh
2014-03-07 02:13:59 +01:00
Antony Lesuisse
cb82d93796
[IMP] report form view move inherited view, restore and refactor test case (kept commented atm) from non merged branch qweb-report
...
bzr revid: al@openerp.com-20140307000620-kqxm55smy34nc0zz
2014-03-07 01:06:20 +01:00
Simon Lejeune
1cf57507c0
[IMP] Added a button on the ir.actions.report.xml form view to allow direct access of the QWeb views associated and edit them
...
bzr revid: sle@openerp.com-20140224170839-7nqv07vp1tx5ou38
2014-02-24 18:08:39 +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
919a2fb29a
[FIX] Report layouts: location of bootstap.js in web module
...
bzr revid: openerp-sle@openerp-sle.home-20140217140921-bru0uvuvuq2nij0t
2014-02-17 15:09:21 +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
cf9548f1a3
[FIX] Fix bug in report layouts due to 't-att-src' being treated before 't-if' on the same tag
...
bzr revid: openerp-sle@openerp-sle.home-20140213102547-sabhj66c98dxa8x0
2014-02-13 11:25:47 +01:00
openerp-sle
fe7d55cbdb
[IMP] Added some default layouts (internal and external with more or less information). The website RTE is called from these layouts, as well as the language selector. Note: currently, the link of the bootstrap 3.1 css points to the official bootstrap site.
...
bzr revid: openerp-sle@openerp-sle.home-20140212175819-8cr53bzafn2uo8rc
2014-02-12 18:58:19 +01:00
openerp-sle
0d01d96dd4
[IMP] Added a 'paperformat' model that will handle properties of pdf documents that are generated from html reports. A company is linked to a default paper format and a report can be linked to a specific paperformat in order to override the default one.
...
bzr revid: openerp-sle@openerp-sle.home-20140212175412-aeij8e9ifwjwgc1m
2014-02-12 18:54:12 +01:00