Commit Graph

130 Commits

Author SHA1 Message Date
Martin Trigaux ada54ee992 [IMP] report: cleaning and add one more repository
bzr revid: mat@openerp.com-20131003112110-zp9icv0umfbf311j
2013-10-03 13:21:10 +02:00
Martin Trigaux c592a6c483 [FIX] report: fix registering customfonts
bzr revid: mat@openerp.com-20131003090333-bm83trt8qafn2d51
2013-10-03 11:03:33 +02:00
Martin Trigaux aa30437603 [IMP] one global list, remove hard coded list of font
bzr revid: mat@openerp.com-20131002101956-y6jt4d13bbku12g3
2013-10-02 12:19:56 +02:00
Dharmraj Zala (OpenERP Trainee) ff4643678b [IMP] added condition to display only regular fonts in list
bzr revid: dizzy.zala@gmail.com-20131001110633-rfazngjr37ewv5cy
2013-10-01 16:36:33 +05:30
Dharmraj Zala (OpenERP Trainee) 382dc4a971 [IMP] improved code and added comments
bzr revid: dizzy.zala@gmail.com-20130920094659-07ifmvrtrfw5ugt5
2013-09-20 15:16:59 +05:30
Dharmraj Zala (OpenERP Trainee) 92aebae8af [IMP] improved code and defaults
bzr revid: dizzy.zala@gmail.com-20130920062115-r8vr770nwg7450ja
2013-09-20 11:51:15 +05:30
Dharmraj Zala (OpenERP Trainee) 26ad0436a9 [IMP] improved code
bzr revid: dizzy.zala@gmail.com-20130919133423-l3n2ovrfw59v4yyx
2013-09-19 19:04:23 +05:30
Dharmraj Zala (OpenERP Trainee) bb72950546 [IMP] improved code for compatibility of tags in rml file
bzr revid: dizzy.zala@gmail.com-20130918133611-v75spcf3tgnoadnr
2013-09-18 19:06:11 +05:30
Dharmraj Zala (OpenERP Trainee) 1b6bbcfec7 [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917104325-4b2mijamy0ll3d8b
2013-09-17 16:13:25 +05:30
Dharmraj Zala (OpenERP Trainee) bffaf163cc [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917103829-c6s5qkwkiy8igj1t
2013-09-17 16:08:29 +05:30
Dharmraj Zala (OpenERP Trainee) b1647e2d32 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130917055129-zvh1tbhghy1vr9oc
2013-09-17 11:21:29 +05:30
Dharmraj Zala (OpenERP Trainee) b1e66aa382 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130913132707-gxjtq6mcrz9btgty
2013-09-13 18:57:07 +05:30
Dharmraj Zala (OpenERP Trainee) a20a7f20a8 [IMP] code improvement
bzr revid: dizzy.zala@gmail.com-20130912120059-rnn784u646xph74l
2013-09-12 17:30:59 +05:30
Chirag Dodiya (OpenERP Trainee) abb3122c2a [MERGE] merge with bzr merge lp:openobject-server
bzr revid: chiragdd7@gmail.com-20130813050340-9q3b6fse8sghtc2d
2013-08-13 10:33:40 +05:30
Christophe Simonis 5a58a48ef5 [MERGE] forward port of branch saas-1 up to revid 4893 chs@openerp.com-20130701153735-xnbb8zauabf1k63u
bzr revid: chs@openerp.com-20130702144745-763n9cdphkppshxl
2013-07-02 16:47:45 +02:00
Olivier Dony cfb5f8f7cf [FIX] rml2pdf: prevent report expression evaluation from crashing report completely
This is a revert of revision 4838 revid:vmt@openerp.com-20130327160420-pxw83283xcro1h52
which was based on the idea that we ought to fix broken reports rather than hide
their problems.
This is correct but is blocking users even for tiny details in the report, so
it is better to attempt generating the output anyway, and log an obvious error
so we have all the data needed to fix the report.

bzr revid: odo@openerp.com-20130627114916-d5p1qjye9tsgammj
2013-06-27 13:49:16 +02:00
Christophe Simonis a61e7cb0c8 [MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +02:00
Christophe Simonis 6f170ec732 [MERGE] forward port of branch 7.0 up to revid 5006 chs@openerp.com-20130612151912-m19okjsdkjo12qnt
bzr revid: chs@openerp.com-20130612152826-j9sj42ten9mic8s0
2013-06-12 17:28:26 +02:00
Chirag Dodiya (OpenERP Trainee) 489196ee76 Added selection field into company, set font dynamically to all para style in header
bzr revid: chiragdd7@gmail.com-20130611121310-35ogs0ler806hkov
2013-06-11 17:43:10 +05:30
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Quentin (OpenERP) 232e24b7a4 [FIX] trml2pdf: reportlab 2.4.4 doesn't support the previous syntax (sname in self.default_style)
bzr revid: qdp-launchpad@openerp.com-20130603093048-4iwgnb4hxhsxrazc
2013-06-03 11:30:48 +02:00
Quentin (OpenERP) 03d39c5429 [IMP/FIX] report, trml2pdf: added the support of registerFontFamily tag to allow the mapping of different fonts for bold, italic or boldItalic
bzr revid: qdp-launchpad@openerp.com-20130531114612-ofcn1swt5o5cc7oc
2013-05-31 13:46:12 +02:00
Christophe Simonis 8f533d7b3d [MERGE][FIX] rml2pdf: correct filename for Sun-ExtA font
bzr revid: chs@openerp.com-20130528185147-911f176f0kg1m4xo
2013-05-28 20:51:47 +02:00
Christophe Simonis b243c7dae5 [FIX] rml2pdf: correct filename for Sun-ExtA font
bzr revid: chs@openerp.com-20130528185031-azdnkayclc7l243x
2013-05-28 20:50:31 +02:00
Quentin (OpenERP) 968aa44bdf [FIX] report, rlm2pdf: added support of Sun-ExtA font and the possibility to define a default value for font parameters in parastyles. We can now use <paraStyle name='Normal fontName='xxxx'/> in company header, for example, if we want to define font xxxx to be used by default in each rml reports (if not overwritten in a further paraStyle)
bzr revid: qdp-launchpad@openerp.com-20130527162051-3e7ztox54vyc8xxc
2013-05-27 18:20:51 +02:00
Thibault Delavallée 1d5068b63e [FORWARD] Forward port of server 7.0 until revision 4988
bzr revid: tde@openerp.com-20130528102733-bsszxp6nvy8yws3t
2013-05-28 12:27:33 +02:00
Thibault Delavallée d2acb63af6 [FORWARD] Forward-port of saas-1 branch until revision 4875
bzr revid: tde@openerp.com-20130522082935-rzzbc3p625rkmcdy
2013-05-22 10:29:35 +02:00
Martin Trigaux c22dd59c85 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514143254-f9ap1pkh7253xs1g
2013-05-14 16:32:54 +02:00
Martin Trigaux 810edc8cf9 [IMP] use new fsf address
bzr revid: mat@openerp.com-20130514141619-xd30aqer3f3gii31
2013-05-14 16:16:19 +02:00
Martin Trigaux 4eeac4015c [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120413-r39mu6lsn04nh5zi
2013-05-14 14:04:13 +02:00
Anael Closson 66cadcdb18 [FIX] OPW 591344 : internal reports don't show images
Cleaner method, and shows images.

bzr revid: acl@openerp.com-20130510151934-e2kvwiexdzp3zc12
2013-05-10 17:19:34 +02:00
Olivier Dony da8670411a [MERGE] Forward-port of 7.0 fixes up to rev.4968
revision-id: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw

bzr revid: odo@openerp.com-20130506132823-zn54tcevfltkgjnf
2013-05-06 15:28:23 +02:00
Olivier Dony 2f0ac65b59 [FIX] rml2pdf: more incorrect license headers in some source files, reported by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

lp bug: https://launchpad.net/bugs/1167034 fixed

bzr revid: odo@openerp.com-20130426161106-wdb2mw4u541zfwfy
2013-04-26 18:11:06 +02:00
Christophe Simonis 261dea6fec [MERGE] forward port of server v7 up to revision 4954
bzr revid: qdp-launchpad@openerp.com-20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-20130423183723-9kiexdyzdew8iuzm
2013-04-23 20:37:23 +02:00
Olivier Dony 41146460c0 [FIX] rml2html: incorrect license headers in some source files, reported and contributed by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

lp bug: https://launchpad.net/bugs/1167034 fixed

bzr revid: odo@openerp.com-20130422170420-in1wo45v3q8q0fhr
2013-04-22 19:04:20 +02:00
Quentin (OpenERP) 631759a2a9 [FIX] report, trml2pdf: allow to use <pageNumber/> tag under a flowable area (<place>...<place/>).
bzr revid: qdp-launchpad@openerp.com-20130408132510-7pq0ityec9sl702f
2013-04-08 15:25:10 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Vo Minh Thu 255cec154a [IMP] report: let the exceptions bubble up when using eval().
bzr revid: vmt@openerp.com-20130327160420-pxw83283xcro1h52
2013-03-27 17:04:20 +01:00
Vo Minh Thu c99c4091ce [REM] Deleted .apidoc lines.
They were probably used by some tools. How sad.

bzr revid: vmt@openerp.com-20130212142410-zqdjd8jw3gtvxab0
2013-02-12 15:24:10 +01:00
Vo Minh Thu bfc911e737 [FIX] report: fallback on default font when a specified font does not exist.
bzr revid: vmt@openerp.com-20130311155147-pl3pi072wr819z0z
2013-03-11 16:51:47 +01:00
Tejas Tank ffae4652de [FIX] All OpenERP RML Reports are enabled with transparent Image support.
bzr revid: tta@openerp.com-20121218115043-1yx5b2q7eqcf8xbx
2012-12-18 17:20:43 +05:30
Xavier Morel d02fc09bb9 [IMP] more augmented assignments
bzr revid: xmo@openerp.com-20121214134455-c1o7ehlot6vdwioe
2012-12-14 14:44:55 +01:00
Xavier Morel fb6f4bcfbd [REM] unreachable code
bzr revid: xmo@openerp.com-20121214124606-nccvun2sf12gu7c7
2012-12-14 13:46:06 +01:00
Xavier Morel b6ece5d65f [REM] trailing semicolons
bzr revid: xmo@openerp.com-20121214124310-wfdkhmcwxnyqu30m
2012-12-14 13:43:10 +01:00
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Xavier Morel 4cb3685f70 [IMP] compare to None by identity
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Olivier Dony 7f5ad72429 [MERGE] Forward-port 6.1 bugfixes up to rev. 4307
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj

bzr revid: odo@openerp.com-20121126160320-t2suuik6lhk6wl0x
bzr revid: odo@openerp.com-20121126161836-mv8yymzgbnmif4ve
bzr revid: odo@openerp.com-20121126162023-ejvsapwouyudw6c6
bzr revid: odo@openerp.com-20121126181527-d4yx15372bis77qj
2012-11-26 19:15:27 +01:00
Vo Minh Thu b1297a0459 [IMP] report: added TTF font path (used in e.g. Arch Linux).
bzr revid: vmt@openerp.com-20120914125359-knl1t3motsiw4vgb
2012-09-14 14:53:59 +02:00
Stephane Wirtel 8dc0bcf21c [MERGE] openerp.report: remove unused imports and vars
bzr revid: stw@openerp.com-20120910143835-85lcla35odoeanbi
2012-09-10 16:38:35 +02:00
Xavier ALT d0125d893d [MERGE] OPW 51167: report: fix header pageCount always zero + add automatic per-story pageCount (v6.0 forward-port)
bzr revid: xal@openerp.com-20120716075217-kpwcotmrhpl4pj60
2012-07-16 09:52:17 +02:00
skh dbec5e9ae6 [FIX]trml2pdf.py : translation issue for the Page x of y on report which is hard coded changed it to x/y
bzr revid: skh@tinyerp.com-20120424061009-hlg4hq8srmjxgteo
2012-04-24 11:40:09 +05:30
Florent Xicluna 5056899093 [MERGE] merged trunk.
bzr revid: florent.xicluna@gmail.com-20120208172825-r6og0hfoc181pdt1
2012-02-08 18:28:25 +01:00
Florent Xicluna 6312fd9426 [REF] openerp.report: remove unused imports and vars, simplify logging.
bzr revid: florent.xicluna@gmail.com-20120208170700-csx9jb3nwmvq3dzj
2012-02-08 18:07:00 +01:00
Florent Xicluna 7675d45c2c [REF] openerp.report: fix weird indentation, not multiple of four.
bzr revid: florent.xicluna@gmail.com-20120208170456-ak1ykpy6yel71ylc
2012-02-08 18:04:56 +01:00
Florent Xicluna b5fa51f4a6 [REF] openerp.report: use the recommended syntax to raise error and never use empty except:.
bzr revid: florent.xicluna@gmail.com-20120208170217-xsa5odzlhite0nda
2012-02-08 18:02:17 +01:00
Florent Xicluna 57ca8e4797 [REF] openerp.report: better use of isinstance.
bzr revid: florent.xicluna@gmail.com-20120208170034-2w8szxy350qpwas6
2012-02-08 18:00:34 +01:00
Antony Lesuisse 108e53b253 [FIX] use _logger instead of stderr in trml2pdf
lp bug: https://launchpad.net/bugs/906377 fixed

bzr revid: al@openerp.com-20120208013617-22wu77ph56nr58us
2012-02-08 02:36:17 +01:00
Vo Minh Thu f057f2afa5 [IMP] openerp.loglevels: removed calls to openerp.loglevels.Logger().
bzr revid: vmt@openerp.com-20120124173017-c66z3kq11wmbrrke
2012-01-24 18:30:17 +01:00
Vo Minh Thu 15a4d4e19e [IMP] openerp.report: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124125512-2bjh1xpzcgvz1nrp
2012-01-24 13:55:12 +01:00
Florent Xicluna 521152816e [FIX] missing import.
bzr revid: florent.xicluna@gmail.com-20120119215955-5692tc3lv5q6su4l
2012-01-19 22:59:55 +01:00
Rucha (Open ERP) 628e8540a1 [IMP]: Improvements to format report pageSize according to company paper format(US letter/A4)
bzr revid: rpa@tinyerp.com-20111221092446-48bqtxwfvmgpt49l
2011-12-21 14:54:46 +05:30
Numerigraphe - Lionel Sausin a2f4f2669b [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085848-1atcrcw8e64altcp
2011-11-22 09:58:48 +01:00
Vo Minh Thu 5ef9dd5f3f [MERGE] Cleaning of the empty dict kwargs (replaced by None).
bzr revid: vmt@openerp.com-20111121133346-2yr8ow3zeyqa9ar5
2011-11-21 14:33:46 +01:00
Denis Seleznyov 58bb4fadad [FIX]:AccessInit: hash collision error possible
lp bug: https://launchpad.net/bugs/859123 fixed

bzr revid: nch@tinyerp.com-20111114064805-wkw8q4w0nj5h1dtd
2011-11-14 12:18:05 +05:30
Numerigraphe - Lionel Sausin ae2be16844 [FIX] unmutable defaults in report
bzr revid: ls@numerigraphe.fr-20111107154556-eofj5s55tkqntsty
2011-11-07 16:45:56 +01:00
Olivier Dony ce558209ab [MERGE] Fix for bug 885299: properly manage XML chars escaping in reports in all cases
bzr revid: odo@openerp.com-20111104164222-315uq7my7oa42v8d
2011-11-04 17:42:22 +01:00
Quentin (OpenERP) 1097bbeaca [FIX] rml2pdf: _process_text escaping char for xml
lp bug: https://launchpad.net/bugs/885299 fixed

bzr revid: qdp-launchpad@openerp.com-20111104155759-e0tme9o3g1ef00tq
2011-11-04 16:57:59 +01:00
Olivier Dony 54078c6394 [MERGE] trml2pdf: don't reassign a reused node.text value (additional fix)
lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: odo@openerp.com-20110919233407-gdna8j4gll0lm4um
2011-09-20 01:34:07 +02:00
Maximilian Gass f99e1b3eae [FIX] correct env hashbang line in a script
bzr revid: dmitrijs.ledkovs@credativ.co.uk-20110731140954-xegjvx7negcttpo1
2011-07-31 15:09:54 +01:00
P. Christeas 8cfb7dae73 API docs: docstrings, module titles
bzr revid: xrg@linux.gr-20110623090457-y5o7pd5y1ltpo9t9
2011-06-23 12:04:57 +03:00
P. Christeas cf6e623f7d API docs: settings file and titles at modules
bzr revid: xrg@linux.gr-20110623090357-nazly8vpfnw0iskr
2011-06-23 12:03:57 +03:00
fp 6758ee6133 [IMP] report engine: added possibility to use styles on TR tag
bzr revid: qdp-launchpad@openerp.com-20110614082711-l5cvbvm405h247ek
2011-06-14 10:27:11 +02:00
Vo Minh Thu 358f6881f3 [REF] openerp/report/render/render.py: removed silly main() method, rewrote french comment in english.
bzr revid: vmt@openerp.com-20110531152711-49kyo4xhtak3r874
2011-05-31 17:27:11 +02:00
Nimesh (Open ERP) fe230bbb6d [fix] improvement in trml2pdf.py for the image
bzr revid: nco@tinyerp.com-20110530090335-7lamm1fbnalkrhlh
2011-05-30 14:33:35 +05:30
Vo Minh Thu 2f6dff7690 [MERGE] moved around some code (preparing for some refactoring) (large diff).
bzr revid: vmt@openerp.com-20110525160607-45pq13910rduijkk
2011-05-25 18:06:07 +02:00
Vo Minh Thu 6d0f31fbd1 [MERGE] don't assign a reused node.text value.
lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: vmt@openerp.com-20110525080921-fyrkdkdm3niupn1f
2011-05-25 10:09:21 +02:00
Nimesh (Open ERP) 97b3cc08e7 [FIX] image display in every row in report.
bzr revid: nco@tinyerp.com-20110519125941-fey0x5edx56mcnvm
2011-05-19 18:29:41 +05:30
Vo Minh Thu 0770057935 [REF] explicit service objects instanciation.
bzr revid: vmt@openerp.com-20110507112129-hfrly9easfby9hns
2011-05-07 13:21:29 +02:00
Olivier Dony ab212d05eb [MERGE] merged latest fixes from 6.0, up to revision 3420
Rev 3420 = odo@openerp.com-20110506093704-1vwxsqyz63lq40a1

bzr revid: odo@openerp.com-20110506093920-j1uobqryzx5vv6vv
2011-05-06 11:39:20 +02:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00