Raphael Collet
05851d21ba
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +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
Kuldeep Joshi (OpenERP)
93960634c1
[IMP] res_partner:add res_partner_address field to res_partner
...
bzr revid: kjo@tinyerp.com-20120220091705-y7xdh00sdkotpqj6
2012-02-20 14:47:05 +05:30
Olivier Dony
0e97ec4a12
[MERGE] Fix bug 932170 - formatLang() should render using context timezone
...
bzr revid: odo@openerp.com-20120215144727-4vtoxdz7dk9si3wn
2012-02-15 15:47:27 +01:00
Olivier Dony
e9143a0ba8
[FIX] reports: formatLang() should render datetime values in appropriate timezone
...
lp bug: https://launchpad.net/bugs/932170 fixed
bzr revid: odo@openerp.com-20120215133748-2iodxq0z1vqhyz13
2012-02-15 14:37:48 +01:00
Olivier Dony
79ac080fb2
[MERGE] Minor bugfixes (missing imports, etc.) courtesy of Florent Xicluna
...
bzr revid: odo@openerp.com-20120214150022-yx6zi0j4fr2d48uc
2012-02-14 16:00:22 +01:00
Vo Minh Thu
799752a74b
[FIX] report: do not use the default_type entry from the context:
...
the type column exists on both the account_invoice and on the attachment.
It is set for the account_invoice, so we must not use it for the attachment
creation.
lp bug: https://launchpad.net/bugs/918203 fixed
bzr revid: vmt@openerp.com-20120210113427-vnty3pcmcw3g3b97
2012-02-10 12:34:27 +01:00
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
9621008df1
[REF] openerp.report: replace deprecated has_key.
...
bzr revid: florent.xicluna@gmail.com-20120208170351-1vmewmuufmxn7x52
2012-02-08 18:03:51 +01:00