Commit Graph

118 Commits

Author SHA1 Message Date
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
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
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
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
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
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +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
Raphael Collet 09be864f1d [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Vo Minh Thu d6ea526e36 [MERGE] openerp.pooler is deprecated.
bzr revid: vmt@openerp.com-20130327164045-ziw4lj50owdvmfbw
2013-03-27 17:40:45 +01:00
Vo Minh Thu 23d672dfc3 [MERGE] reports: make it possible to use only XML declaration, even with custom parsers.
This makes report registration more uniform, and report rendering be possible
through the ORM (and thus the model service, instead of the report service).

To register a report, always use the database, i.e. a <report> tag within an
XML file. The custom parser, if any, will be specified in the database.
Previously specify a custom parser, the report was declared in Python.

Each model exposes a print_report() method, which will take the report name (as
many report can be defined on a single model) in argument.

bzr revid: vmt@openerp.com-20130327161129-6e7jz7l3lx7z1t18
2013-03-27 17:11:29 +01: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 de5c84c0e1 [REF] removed nested import openerp.
bzr revid: vmt@openerp.com-20130327154714-fa3k6gqtsmlt3vx6
2013-03-27 16:47:14 +01:00
Vo Minh Thu 1e7e2ca753 [REF] no longer use openerp.pooler.
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().

Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.

bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Vo Minh Thu 1ea66164f3 [IMP] report: registration deprecation now guarded via openerp.conf.deprecation.
bzr revid: vmt@openerp.com-20130325131756-5bns19n20nar9ogs
2013-03-25 14:17:56 +01:00
Vo Minh Thu 464af881bf [IMP] netsvc: LocalService deprecation now guarded via openerp.conf.deprecation.
bzr revid: vmt@openerp.com-20130325131245-9o5uizn6v4r8irc3
2013-03-25 14:12:45 +01:00
Vo Minh Thu 48d1bce6ec [IMP] report: remove the print statement upon report registration.
bzr revid: vmt@openerp.com-20130222151311-xz609m3o5jazo7ld
2013-02-22 16:13:11 +01:00
Vo Minh Thu 729d969fd9 [IMP] report: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222124801-zhhbw2bgghhf6rg6
2013-02-22 13:48:01 +01:00
Vo Minh Thu 0cb53890df [IMP] report: reports with custom parsers can be declared in XML files.
bzr revid: vmt@openerp.com-20130222093428-f1isxxqlbaj7uhuo
2013-02-22 10:34:28 +01:00
Raphael Collet e76befd6c6 [MERGE] trunk-service-thu (remove the class openerp.netsvc.ExportService)
bzr revid: rco@openerp.com-20130212154230-y54s2rbetllwnh4q
2013-02-12 16:42:30 +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
csn-openerp 34a41139f0 [FIX]report_sxw : fix strip_name function that cut a name to a given length in a report. It no longer crash when no name is given to the function.
bzr revid: csn@openerp.com-20130208135704-4jvc9odchlulefx6
2013-02-08 14:57:04 +01:00
Vo Minh Thu c8ffd1cedc [REF] service: netsvc.Service is removed. LocalService(object_proxy) is never used so it is removed.
bzr revid: vmt@openerp.com-20130201112232-2k8geufmryx6p249
2013-02-01 12:22:32 +01:00
Xavier ALT 2dfc3cbc6a [MERGE] OPW 572488: report sxw/odt: fix inconsistent duplicate content/meta/style files within generated sxw/odt
forward-port of v6.0 server revid: xal@openerp.com-20130102152925-h81qv2fx300oakzv

bzr revid: xal@openerp.com-20130102164057-lkr39vbtnk0zndgs
2013-01-02 17:40:57 +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 90a687ab7a [FIX] misplaced docstrings
bzr revid: xmo@openerp.com-20121214124243-kvg2cg00k0a4518p
2012-12-14 13:42:43 +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 e83d615830 [IMP] literalify list creation
bzr revid: xmo@openerp.com-20121214122605-w1danvqxmqm12800
2012-12-14 13:26:05 +01:00
Xavier Morel 2270f8e8dd [IMP] merge extraneous setitem into literal dict creation
bzr revid: xmo@openerp.com-20121214122223-91elxxp0m6ska8ua
2012-12-14 13:22:23 +01:00
Xavier Morel 83c102714f [REM] access to deprecated APIs for unsupported Python versions
bzr revid: xmo@openerp.com-20121214121711-d1r6nx82f0mpwgwy
2012-12-14 13:17:11 +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
Xavier Morel 576571bae2 [IMP] simplify to chained comparison
bzr revid: xmo@openerp.com-20121214121604-anypg1nudbk0bh9y
2012-12-14 13:16:04 +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
Olivier Dony 180549c72e [MERGE] OPW 577045: translate: properly export and translate terms in XSL-based reports
This patch comes with a related patch on addons which
fixes a lot of cases of terms that were not properly
translated in reports, due to improper use of the
translation system. The addons patch also adds a
lot of missing entries in the POT files.

bzr revid: odo@openerp.com-20121008110946-21984tjvhoy8zkx9
2012-10-08 13:09:46 +02:00
Chris Biersbach 1d7b6d3e35 [Fix] Fixed generation of .pot files
bzr revid: cbi@openerp.com-20120924134002-co53v0mbz8zicciv
2012-09-24 15:40:02 +02: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
Stephane Wirtel b90a483138 [MERGE] Remove the embedded pychart library, and use the online version
bzr revid: stw@openerp.com-20120823150546-3pi7gw8oq2elpnt4
2012-08-23 17:05:46 +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
Sbh (Openerp) a61f7ce8d1 [IMP]:base/res : remove type from display address
bzr revid: sbh@tinyerp.com-20120330045752-m9d9vgt92uro6fle
2012-03-30 10:27:52 +05:30
Quentin (OpenERP) b1a29c5a6a [REF] base: small refactoring of things related to the merge of res.partner and res.partner.address
bzr revid: qdp-launchpad@openerp.com-20120329114331-hmlld7fxlw6sh1ks
2012-03-29 13:43:31 +02:00
Bhumika (OpenERP) 686cea2441 [ADD]base/res: improve display address method for printing contact type address
bzr revid: sbh@tinyerp.com-20120306060934-kor7w3upsvpw39gi
2012-03-06 11:39:34 +05:30