Commit Graph
189 Commits
Author SHA1 Message Date
P. Christeas 6e893f1e9e rml2pdf: use ustr() instead of unicode()
When strings are 8-bit utf8-encoded, unicode will break with the usual:
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position ..
message. ustr() will have better luck in those cases.

Conflicts:

	bin/report/render/rml2pdf/utils.py

bzr revid: p_christ@hol.gr-20101123151930-8r9q9gg7r902i2nv
2010-11-23 17:19:30 +02:00
P. Christeas 792c8eba19 trml2pdf: cleaner import of StringIO
bzr revid: p_christ@hol.gr-20101123151444-sbnfj0fu1nkl2pkr
2010-11-23 17:14:44 +02:00
P. Christeas 1a5e3cf073 pdf customfonts: allow absolute paths in registered fonts
bzr revid: p_christ@hol.gr-20101123151131-v0v1qfkiajh0cw73
2010-11-23 17:11:31 +02:00
P. Christeas 03b4e87cca report customFonts: have debugging logs for fonts mapped.
Since this is platform-dependant, it is good to be able to debug
if that algorithm worked and located our TTF fonts.

bzr revid: p_christ@hol.gr-20101123151124-wk5r5fac00kpu3f4
2010-11-23 17:11:24 +02:00
P. Christeas 27ae6f3522 report/render: fixes from xrg branch
This should log the rendering exceptions for reports. Also fix am error at
custom fonts, suppress a message.

Conflicts:

	bin/report/render/rml2pdf/utils.py

bzr revid: p_christ@hol.gr-20101123151110-bckon1ji7hul20mp
2010-11-23 17:11:10 +02:00
P. Christeas d1347d0b0d Fix rml2pdf custom ttf fonts.
The attempt to put checks in that code had broken it.

bzr revid: p_christ@hol.gr-20101123150945-012xrvhz3ya2watl
2010-11-23 17:09:45 +02:00
P. Christeas 2f2ed1d138 rml2pdf: fix logging of exceptions.
exception() cannot be called without a string, yet it is even better to
demote those logs to warnings.

Conflicts:

	bin/report/render/rml2pdf/utils.py

bzr revid: p_christ@hol.gr-20101123150903-zgiyob943ivcftkq
2010-11-23 17:09:03 +02:00
Numerigraphe - Lionel Sausin 1fff5e28f1 [FIX] incorrect spellings (childs -> children)
bzr revid: xmo@openerp.com-20101112103952-qabm06zgu6s5qrnn
2010-11-12 11:39:52 +01:00
Olivier Dony f886f8f43b [FIX] reports/rml2pdf: improved previous fix of unicode/str conversion
bzr revid: odo@openerp.com-20101109105329-zjtz7lcdg6h0trxw
2010-11-09 11:53:29 +01:00
Olivier Dony 14b584718d [FIX] reports/rml2pdf: somewhat more consistent handling of unicode/str conversion + cleanup
lp bug: https://launchpad.net/bugs/537449 fixed
lp bug: https://launchpad.net/bugs/662598 fixed

bzr revid: odo@openerp.com-20101108185328-9bbb22v0yisdp8h1
2010-11-08 19:53:28 +01:00
Olivier Dony ac7a2881e7 [MERGE] report branch with <pto> support in RML rendering
bzr revid: odo@openerp.com-20101103171129-ft6iacj63a4jtadd
2010-11-03 18:11:29 +01:00
apa-tiny 6800b74fb7 [FIX]account:[trunk] accounting - GL report (and others) - repeat column headers
lp bug: https://launchpad.net/bugs/645969 fixed

bzr revid: apa@tinyerp.com-20101102080019-vnfo4o8me9pwbtne
2010-11-02 13:30:19 +05:30
apa-tiny 7ce97c0827 remove print
bzr revid: apa@tinyerp.com-20101025093738-i4160t6g3jsvmn0v
2010-10-25 15:07:38 +05:30
Numerigraphe - Lionel Sausin e3e8be4b01 [MERGE] merge from 6.0.0-RC1
bzr revid: ls@numerigraphe.fr-20101025074313-uaspq2f2y523my99
2010-10-25 09:43:13 +02:00
apa-tiny 48e4ab7856 [MERGE]
bzr revid: apa@tinyerp.com-20101011071527-9z3a7nbkqsy8k2n1
bzr revid: apa@tinyerp.com-20101011125948-drvna1etzodmij6f
bzr revid: apa@tinyerp.com-20101012044207-w005n4q1jh4p8ple
bzr revid: apa@tinyerp.com-20101012074626-o862t63bw1sjq2ar
bzr revid: apa@tinyerp.com-20101012093633-qfb4lptlbmcx1tuz
bzr revid: apa@tinyerp.com-20101012102718-pilkyz2lh8t720o1
bzr revid: apa@tinyerp.com-20101013093214-u5o20i2hh4gzm8rr
bzr revid: apa@tinyerp.com-20101014044132-mizwgq34ef3z7mfa
bzr revid: apa@tinyerp.com-20101015044753-ybyz07rq4zdeq5k3
bzr revid: apa@tinyerp.com-20101018045042-dtuz4xbrav9apnyf
bzr revid: apa@tinyerp.com-20101019052902-vlwy799abru8nulj
bzr revid: apa@tinyerp.com-20101019054756-vov61axfh1dzh3hz
bzr revid: jni@tinyerp.com-20101020053559-gfrpplp9txr64462
bzr revid: jni@tinyerp.com-20101021060845-0krmgnhfyy04eibl
bzr revid: jni@tinyerp.com-20101022053439-w8y313u2xb5g9ear
bzr revid: apa@tinyerp.com-20101025052952-9ucbtgjxz31q7ptz
2010-10-25 10:59:52 +05:30
apa-tiny 2ef37e391c merged
bzr revid: apa@tinyerp.com-20101008043536-9i04wca44bkm8cwb
2010-10-08 10:05:36 +05:30
Jay (OpenERP) e38dcfb122 [FIX] XSL Report : title of xsl reports should support accented characters
bzr revid: jvo@tinyerp.com-20101007145240-x9by6sv89jtco7j5
2010-10-07 20:22:40 +05:30
apa-tiny d480253a46 improve code
bzr revid: apa@tinyerp.com-20101007101127-bpk7wfsxrz2q649q
2010-10-07 15:41:27 +05:30
apa-tiny 18a9848662 improve code
bzr revid: apa@tinyerp.com-20101007095127-1bjuobow1bt1sjcd
2010-10-07 15:21:27 +05:30
apa-tiny 10bb97ea32 improved
bzr revid: apa@tinyerp.com-20101006132534-6nzxh5d8ngby0fy0
2010-10-06 18:55:34 +05:30
apa-tiny 382669fa1c improved for pageCount in like survey type report
bzr revid: apa@tinyerp.com-20101006115806-2ub94u9sfrspo9w8
2010-10-06 17:28:06 +05:30
apa-tiny c841c95c39 [IMP]:improved for pagecount
bzr revid: apa@tinyerp.com-20101005072709-y8sl7zq4ctxcgryn
2010-10-05 12:57:09 +05:30
apa-tiny 7ff12c0751 Improved PageCount for internal header
bzr revid: apa@tinyerp.com-20101004133506-9ixrru1nf2kdwl0k
2010-10-04 19:05:06 +05:30
apa-tiny 6c505a4f58 Improved Pagenumber and Pagecount.(need to more improved it..)
bzr revid: apa@tinyerp.com-20101001140724-qllak4zp967ke7dz
2010-10-01 19:37:24 +05:30
apa-tiny 422b9f3292 [revert]:revert
bzr revid: apa@tinyerp.com-20100927131741-i62g05rrk8hv3wbq
2010-09-27 18:47:41 +05:30
apa-tiny 0e2eba601d [IMP]:improved internal header for pagereset
bzr revid: apa@tinyerp.com-20100927125223-jkqs7z851d4jer1x
2010-09-27 18:22:23 +05:30
apa-tiny a4f08919b1 [IMP]:improved internal header for pagereset
bzr revid: apa@tinyerp.com-20100927112825-t8f7vkdut97fnfcv
2010-09-27 16:58:25 +05:30
apa-tiny bf0124f28c [IMP]:improved for internal header
bzr revid: apa@tinyerp.com-20100927100955-m0nh5r0sdp8r4yvt
2010-09-27 15:39:55 +05:30
apa-tiny 83a1255311 [IMP]:improved internal header and print pagecount without black square on the right of the page number
bzr revid: apa@tinyerp.com-20100927095748-9927u4i2y1rmmo9f
2010-09-27 15:27:48 +05:30
apa-tiny 9b82ab08fd [FIX]:reset page number when printing multiple report
bzr revid: apa@tinyerp.com-20100908055620-uvwqjflp28glskdr
2010-09-08 11:26:20 +05:30
Olivier Dony 6e3c34ddd5 [FIX] rml2pdf: allow missing/null image contents
bzr revid: odo@openerp.com-20100830095946-a028170mlds8upre
2010-08-30 11:59:46 +02:00
nch@tinyerp.com 063875402e [FIX]:TypeERROR:logger.exception
bzr revid: nch@tinyerp.com-20100702063124-p096dk42sngx6i0g
2010-07-02 12:01:24 +05:30
qdp-launchpad@tinyerp.com 9f74749726 [FIX] reports were always printing the same page
bzr revid: qdp-launchpad@tinyerp.com-20100628144920-c0z71jadlee2n69i
2010-06-28 16:49:20 +02:00
Mustufa Rangwala aa4a149196 [FIX] report: logging import missing
bzr revid: mra@mra-laptop-20100626085034-msxz9dfsdz5y32r4
2010-06-26 14:20:34 +05:30
vra 7ed648ce88 [MERGE] merge the changes from main trunk branch.
bzr revid: vra@tinyerp.com-20100624084539-ne1e1tscqn1z3jw5
bzr revid: vra@tinyerp.com-20100624084650-svala4jb0dnf7aal
2010-06-24 14:16:50 +05:30
P. Christeas 218843e025 Rml2pdf: never catch more than Exception.
If using the 'except:' syntax, we are also catching system exit and kbd
interrupt, which shouldn't be handled in that context.

bzr revid: p_christ@hol.gr-20100622094540-tlqkov6sksgw8b6s
2010-06-22 12:45:40 +03:00
P. Christeas 1ee1886dcd rml2pdf: Log stray exceptions, use special when expected.
If the eval() raises an exception, we should log that. Unless it's the
one we expect to see (thus changed to a special type), where we can keep
silently ignoring it.

Note: the GeneratorExit requires python 2.5 .

bzr revid: p_christ@hol.gr-20100621143701-oenf5fp57qs1bxz4
2010-06-21 17:37:01 +03:00
vra 1cf10a7daa [FIX][IMP] SQL-Injection ,minor improvement.
bzr revid: vra@tinyerp.com-20100618140537-mjbviu7sxxwn83x8
2010-06-18 19:35:37 +05:30
Stephane Wirtel 38810b8ae6 [FIX] Use a copy of the local context
bzr revid: stephane@openerp.com-20100615121213-7i4foiqdssq0rgjf
2010-06-15 14:12:13 +02:00
Fabien Pinckaers 7449dd0a8f merge
bzr revid: fp@tinyerp.com-20100604161814-2vdkl7im7ajnd6gl
2010-06-04 18:18:14 +02:00
Fabien Pinckaers b04e16db9c [FIX] report engine
bzr revid: fp@tinyerp.com-20100604161802-dzvvo0ymg6ajl1nq
2010-06-04 18:18:02 +02:00
Fabien Pinckaers d25532fb01 [IMP] bugfix in report engine, don't translate computed expressions. Speed Improvements
bzr revid: fp@tinyerp.com-20100528170923-sqm8ttilidpv306t
2010-05-28 19:09:23 +02:00
Jay (Open ERP) 48598ea002 [FIX] Illustration tag beahvior corrected
bzr revid: jvo@tinyerp.com-20100514134911-gy61vss8irvgnkx0
2010-05-14 19:19:11 +05:30
Xavier ALT 1bfd4b60d0 [FIX] reporting: change the way that para style are computed
- we now compute generic style (i.e. inside <styles/> tag) only once
    at the begenning of the report.
  - for each <para/> tag we encounter, we first try use generic style, and
    we only make a deepcopy() of the style structre, in the case there is
    some style customization directly on the tag

bzr revid: jvo@tinyerp.com-20100514131355-mdv7jpsapib7edm9
2010-05-14 18:43:55 +05:30
Anup (OpenERP) c6543844f4 [FIX] Illustration tag beahvior corrected
bzr revid: ach@tinyerp.com-20100511125631-3f4smbu370e7swt8
2010-05-11 18:26:31 +05:30
Olivier Dony b020dc8363 [IMP] work-in-progress: initial version of safe_eval implementation -- still need fixing
bzr revid: odo@openerp.com-20100503234953-qgbk64bmir95jvzd
2010-05-04 00:49:53 +01:00
sbh (Open ERP) 9f0fdbdc52 [Fix] trml2pdf: set the Heading tag name
bzr revid: sbh@tinyerp.com-20100402084926-vys4yshlxk5yx42z
2010-04-02 14:19:26 +05:30
Numerigraphe - Lionel Sausin 25a424a89d [REF] 'children' instead of 'childs'
lp bug: https://launchpad.net/bugs/327259 fixed

bzr revid: ls@numerigraphe.fr-20100324163222-dj03gxme8sawtdmz
2010-03-24 17:32:22 +01:00
Fabien Pinckaers 9ded20ae70 [IMP] removed this month
bzr revid: fp@tinyerp.com-20100302214739-uwq4kgmh01a7xoxi
2010-03-02 22:47:39 +01:00
Fabien Pinckaers 4e2afb8853 [IMP] made rml2pdf independant
bzr revid: fp@tinyerp.com-20100301184204-84sq3n5dqvxtpdvh
2010-03-01 19:42:04 +01:00