Vo Minh Thu
80f9a1e770
[MERGE] loading/post_load hook: the code is consolidated in one place.
...
The post-load hook is called whenever a module is loaded, be it via the --load
option or via regular module installation. This is mostly for backward compatibility:
we might require an explicit --load for such server-wide modules.
bzr revid: vmt@openerp.com-20120209154800-2t11mtpf33r1bcig
2012-02-09 16:48:00 +01:00
Vo Minh Thu
01449bfb37
[IMP] post_load: factored common code. This also fix bug lp:929466
...
lp bug: https://launchpad.net/bugs/929466 fixed
bzr revid: vmt@openerp.com-20120209152732-24ud1f70krliv2k5
2012-02-09 16:27:32 +01:00
Vo Minh Thu
d14a3e9df0
[IMP] loading: call post-load hook in non-server-wide-module too.
...
bzr revid: vmt@openerp.com-20120209141444-12261k6zd2ovnltd
2012-02-09 15:14:44 +01:00
Olivier Dony
d163de7b55
[FIX] ir.values: avoid returning conditional defaults when condition is not set
...
This should un-break the tests introduced
in previous revision
bzr revid: odo@openerp.com-20120209130854-x73j0ouyjsjnhsdg
2012-02-09 14:08:54 +01:00
Olivier Dony
5c5a5b94fc
[IMP] ir.values: add (breaking) testcase for conditional defaults, currently misbehaving
...
bzr revid: odo@openerp.com-20120209130526-b6rg5qlf07sucafq
2012-02-09 14:05:26 +01:00
Olivier Dony
1f189228b5
[IMP] ir.module: remove technical `icon path` field from module form view
...
bzr revid: odo@openerp.com-20120209095616-gbus0ri06hhs90cy
2012-02-09 10:56:16 +01:00
Vo Minh Thu
79d7e883f5
[IMP] fields: turn the warning() in a debug() for the required bool/int/float deprecation message.
...
bzr revid: vmt@openerp.com-20120209094342-n1n7ex5ef25bjvfw
2012-02-09 10:43:42 +01:00
Raphael Collet
ddf38fa38b
[FIX] revert rev 4018 (revid:rco@openerp.com-20120208162334-ziccpi3yczp3r5z5)
...
bzr revid: rco@openerp.com-20120209083828-hoojows5zsg0xrif
2012-02-09 09:38:28 +01:00
Launchpad Translations on behalf of openerp
0e2e9ddd78
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00:00
Antony Lesuisse
d6e0a7e43c
[IMP] ir properties list view show res_id and type
...
lp bug: https://launchpad.net/bugs/919991 fixed
bzr revid: al@openerp.com-20120209025847-suuwmy31wfybkkqt
2012-02-09 03:58:47 +01:00
Antony Lesuisse
d8ed922e26
[FIX] res_currency remove warning about float field
...
bzr revid: al@openerp.com-20120208224031-korqq1crt0u3wpuh
2012-02-08 23:40:31 +01:00
Antony Lesuisse
94145b2982
[FIX] ir.model filter out link that occurs when using the ir.model web form view
...
lp bug: https://launchpad.net/bugs/912769 fixed
bzr revid: al@openerp.com-20120208221706-o45t6h3zgmz3ezny
2012-02-08 23:17:06 +01:00
Antony Lesuisse
2cd26d3763
[FIX] ir.model.fields form view
...
lp bug: https://launchpad.net/bugs/912769 fixed
bzr revid: al@openerp.com-20120208213047-2uq1wze2xdzbghgh
2012-02-08 22:30:47 +01:00
Antony Lesuisse
30b8d271e5
[FIX] ir.model form view
...
lp bug: https://launchpad.net/bugs/912769 fixed
bzr revid: al@openerp.com-20120208175223-lqoyeqcfj53gb0lh
2012-02-08 18:52:23 +01:00
Raphael Collet
4027d619eb
[FIX] ir_model: do not call is_transient on None
...
bzr revid: rco@openerp.com-20120208162334-ziccpi3yczp3r5z5
2012-02-08 17:23:34 +01:00
Olivier Dony
7629281e08
[MERGE] Contributed Costa Rica (es_CR) translations, courtesy of Carlos Vásquez / Clearcorp
...
In the future it is much more recommended to upload
the PO files on Launchpad or work directly in the
Launchpad translation interface.
bzr revid: odo@openerp.com-20120208154332-r1ru2lnzaq9bagbt
2012-02-08 16:43:32 +01:00
Christophe Simonis
5af49817f4
[FIX] allow text inside <label> tags
...
bzr revid: chs@openerp.com-20120208135945-6p22z3e69r7z0tty
2012-02-08 14:59:45 +01:00
Antony Lesuisse
301afd4baa
[REM] hide menutip option from user preference
...
bzr revid: al@openerp.com-20120208135010-u6s6tl1loss9a74u
2012-02-08 14:50:10 +01:00
Vo Minh Thu
876c61b052
[MERGE] merged logging changes: use a top-level `openerp` name space. Similar changes for the addons will be done after 6.1.
...
bzr revid: vmt@openerp.com-20120208105913-habqxas406osaz9z
2012-02-08 11:59:13 +01:00
Carlos Vásquez
9737108f62
[ADD] openerp/addons/base/i18n/es_CR.po: first version
...
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208075007-4bpuu9ksrn68o1w9
2012-02-08 01:50:07 -06:00
Launchpad Translations on behalf of openerp
7ad8821958
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208045408-48nq5dhfhsh1p2l8
2012-02-08 04:54:08 +00:00
Antony Lesuisse
868c029b4b
logging define a sane default_config
...
bzr revid: al@openerp.com-20120208015957-a9g3ngfo2kj0l76v
2012-02-08 02:59:57 +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
Antony Lesuisse
acc91886c6
[FIX] reintroduce a default value for auto_install (aka active) removed in 4003 revid:xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
...
bzr revid: al@openerp.com-20120208005252-ke2v5mtkxpmyml6d
2012-02-08 01:52:52 +01:00
Olivier Dony
f13de315be
[I18N] base: updated translation template
...
This should be the last major sync before the
final release of 6.1
bzr revid: odo@openerp.com-20120208004538-uutge29kymontex4
2012-02-08 01:45:38 +01:00
Olivier Dony
3e74579982
[FIX] ir.model: fix incorrect translate call: _()
...
bzr revid: odo@openerp.com-20120208004124-2nhcwrcc7js6q04s
2012-02-08 01:41:24 +01:00
Antony Lesuisse
8289a2869e
[FIX] remove useless decodes that break on pg9.0
...
lp bug: https://launchpad.net/bugs/917030 fixed
bzr revid: al@openerp.com-20120208003800-whnxjgw2n2v0ea2i
2012-02-08 01:38:00 +01:00
Vo Minh Thu
f54cf18d22
[IMP] logging: re-add the HttpLogHandler class needed in addons (when left unchanged for 6.1).
...
bzr revid: vmt@openerp.com-20120207214604-lbdrvh66tj71iz7u
2012-02-07 22:46:04 +01:00
Olivier Dony
b33f8d7087
[IMP] ir.filters: correct misleading tooltip
...
Currently, filters without any assigned user
are only usable by the system, e.g. for
driving marketing campaign segments
(in the marketing_campaign module).
lp bug: https://launchpad.net/bugs/802976 fixed
bzr revid: odo@openerp.com-20120207175927-v63kcnrwq8bgacdx
2012-02-07 18:59:27 +01:00
Vo Minh Thu
354a1baaf8
[FIX] logging: undefined LOG_DEBUG_RPC constant.
...
bzr revid: vmt@openerp.com-20120206235853-5e5mxq4hfl9epgbb
2012-02-07 00:58:53 +01:00
Vo Minh Thu
09dc03a30f
[IMP] logging: re-added the --log-level option for backward compatibility.
...
bzr revid: vmt@openerp.com-20120206230215-pst29d6x0ymn2fwx
2012-02-07 00:02:15 +01:00
Vo Minh Thu
229ab5cfa4
[REVERT] reverted commit 4008, the --log-rpc-terse/verbose were not effective.
...
bzr revid: vmt@openerp.com-20120206221420-p64z6nzch7f3f4v2
2012-02-06 23:14:20 +01:00
Vo Minh Thu
23eb63f139
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120206203151-3snkz7usngwtv1xt
2012-02-06 21:31:51 +01:00
Launchpad Translations on behalf of openerp
5eaf046488
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120203053745-orlweqvnx6zwiy6i
bzr revid: launchpad_translations_on_behalf_of_openerp-20120204052830-xb8tt6iuixn8p8ow
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205044816-711tbu0ejkwplssg
2012-02-05 04:48:16 +00:00
Antony Lesuisse
fcf84b265c
define a useful default logging config, display this config in DEBUG, rename and claen rpc debug to verbose or terse
...
bzr revid: al@openerp.com-20120202203008-mkafq1oak33z6p6p
2012-02-02 21:30:08 +01:00
Xavier Morel
df8af0ec4a
[FIX] in load_information_from_description_file, f can be a StringIO (in case of zipped module) and StringIO are not contextmanagers.
...
So rollback the context management thingie
bzr revid: xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
2012-02-02 16:45:32 +01:00
Olivier Dony
aea1b13412
[IMP] tools.translate: be more lenient and accept standart gettext source annotations
...
The GetText spec says that PO auto-comments indicating
the source location have this form:
#: /path/to/file:lineno
However OpenERP's POT export system defaults to a modified
version of this format with an extra 'type' field:
#: type:/path/to/file:lineno
The babel extractors we use for openerp-web's translations
have the GetText format hardcoded, so it's a good idea
to be more lenient and allow the standards annotations too.
We can use a default 'code' type for such cases.
For openerp-web translations the type does not matter,
as the translations will be directly loaded by the
web engine from the PO files and served in Javascript
to the browser, with no typing needed.
This patch simply avoids failing to parse updated PO files
that will contain standard GetText annotations for the
openerp-web related terms.
bzr revid: odo@openerp.com-20120202143210-05p1w24t6u77cyv8
2012-02-02 15:32:10 +01:00
Vo Minh Thu
81ee705498
[IMP] logging: use logging.exception() instead of manually formatting the traceback.
...
bzr revid: vmt@openerp.com-20120202125442-h73uaga3vu2s8upv
2012-02-02 13:54:42 +01:00
Vo Minh Thu
88d2e96317
[IMP] --log-rpc-xxx into --log-request and --log-response.
...
bzr revid: vmt@openerp.com-20120202122610-r35cxp2y5i63lczg
2012-02-02 13:26:10 +01:00
Vo Minh Thu
1ab6f8883c
[IMP] logging: _logger.warn() replaced by _logger.warning().
...
bzr revid: vmt@openerp.com-20120202092634-pylu3098p5c0mays
2012-02-02 10:26:34 +01:00
Vo Minh Thu
5341b5f445
[IMP] logging: _logger.log(DEBUG) replaced by _logger.debug().
...
bzr revid: vmt@openerp.com-20120202092105-mfufuv97h8zrc2n7
2012-02-02 10:21:05 +01:00
Antony Lesuisse
91ef8c1c51
[FIX] review according to xmo :)
...
bzr revid: al@openerp.com-20120201235604-tr5iq676pzk8bi1m
2012-02-02 00:56:04 +01:00
Antony Lesuisse
62750454e2
bye bye DEBUG_*
...
bzr revid: al@openerp.com-20120201003015-pct8p0fgixun3zvv
2012-02-01 01:30:15 +01:00
Antony Lesuisse
936ce97689
fix --log-sql
...
bzr revid: al@openerp.com-20120201002321-nstmlzxzrcfgev13
2012-02-01 01:23:21 +01:00
Antony Lesuisse
aca0720691
logging no need to filter just set propagate to False
...
bzr revid: al@openerp.com-20120201001941-qu30h1q030yqc1wq
2012-02-01 01:19:41 +01:00
Antony Lesuisse
5a076878af
new logging handler and commandline config, mostly work except the filter on the root logger
...
bzr revid: al@openerp.com-20120201001019-7fol09su31gbn69w
2012-02-01 01:10:19 +01:00
Antony Lesuisse
b80c634176
[REM] incomplete logging handler config
...
bzr revid: al@openerp.com-20120131212027-oargpskx4k5a9cem
2012-01-31 22:20:27 +01:00
Antony Lesuisse
1a62602c86
[MERGE] trunk
...
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
Xavier Morel
e719558c79
[ADD] values restriction pattern for notebook/@tabpos
...
bzr revid: xmo@openerp.com-20120131154023-lbxqpdirjk9df694
2012-01-31 16:40:23 +01:00
Launchpad Translations on behalf of openerp
ffb184bf1f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202055834-tscy1is5mn7c1qbo
2012-02-02 05:58:34 +00:00