Vo Minh Thu
a83bf232ee
[FIX] openerp.wizard: forgot to remove the stacklevel kwarg.
...
bzr revid: vmt@openerp.com-20120125142702-msp38vncnrv9hvcs
2012-01-25 15:27:02 +01:00
Vo Minh Thu
283304f9a2
[IMP] warnings: turn warnings.warn into logging.warning:
...
Warnings are handled with the other logs (and not always sent to stderr),
they also appear under a module __name__ channel instead of py.warn.
The disadvantage is that there is no longer specific warnings,
such as pending deprecation warning or deprecation warning.
bzr revid: vmt@openerp.com-20120125132407-u33idc0qh7ecs1i5
2012-01-25 14:24:07 +01:00
Vo Minh Thu
97b75ce3f5
[IMP] openerp.service.http_server: unneeded indirection for logging.
...
bzr revid: vmt@openerp.com-20120125125151-cxrsosvx9hefikeq
2012-01-25 13:51:51 +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
402bddc06a
[IMP] res_config: changed from class __logger to module _logger.
...
bzr revid: vmt@openerp.com-20120124162804-9t4y7gy1bvc7jql3
2012-01-24 17:28:04 +01:00
Vo Minh Thu
48adfc8ff3
[IMP] openerp.netsvc: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124162245-sz7iujhxalwzroqt
2012-01-24 17:22:45 +01:00
Vo Minh Thu
cc081b5482
[IMP] openerp.service: remove the so called `uniform log handling` of the HttpLogHandler class.
...
bzr revid: vmt@openerp.com-20120124160231-1ig7utu5brojnw0f
2012-01-24 17:02:31 +01:00
Vo Minh Thu
0d25200483
[IMP] openerp.wsgi: forgot one_logger.
...
bzr revid: vmt@openerp.com-20120124151451-cdj6ule37i52xqwb
2012-01-24 16:14:51 +01:00
Vo Minh Thu
ada52a1beb
[IMP] openerp.service: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124150750-0bn7nagjx9k3bi6j
2012-01-24 16:07:50 +01:00
Vo Minh Thu
a142292f91
[IMP] openerp.tools: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124140056-hqoy49bh7wyr1xce
2012-01-24 15:00:56 +01:00
Vo Minh Thu
f0b63f8028
[IMP] openerp.addons.base: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124131705-pxbfdppbcwgpuajd
2012-01-24 14:17:05 +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
Vo Minh Thu
f22f2fc770
[IMP] openerp.{modules,osv}: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124124252-91g3ysf33zsq4nhd
2012-01-24 13:42:52 +01:00
Vo Minh Thu
f5db1d10ec
[IMP] openerp.addons.base: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124114730-24m0ftu1wbowg8a0
2012-01-24 12:47:30 +01:00
Vo Minh Thu
eadcdd1fd6
[IMP] openerp.wsgi: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124111438-730miqdcm3eljgds
2012-01-24 12:14:38 +01:00
Vo Minh Thu
e972052a93
[IMP] openerp.cron: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124110730-5z49bmykozesrv8e
2012-01-24 12:07:30 +01:00
Vo Minh Thu
6e3ad4f8c9
[IMP] logging: configure a top-level `openerp` logger instead of the root logger.
...
bzr revid: vmt@openerp.com-20120124104558-r3nz6pvjlcv09aht
2012-01-24 11:45:58 +01:00
Vo Minh Thu
4d77e87495
[IMP] import hook: correctly set the imported module __name__.
...
bzr revid: vmt@openerp.com-20120124102024-ziajbxfxjs1kyurv
2012-01-24 11:20:24 +01:00
Launchpad Translations on behalf of openerp
a6042ec08c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120122053029-q0dszyf1d5joxomf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120124052910-tzpibbaw7b1w2w83
bzr revid: launchpad_translations_on_behalf_of_openerp-20120125052509-uyix5j8ir1rdsuum
2012-01-25 05:25:09 +00:00
Vo Minh Thu
5e293f04ae
[MERGE] added resources (virt. memory and CPU time) limits when using gunicorn.
...
bzr revid: vmt@openerp.com-20120120172018-dlde0c1qn6oh9922
2012-01-20 18:20:18 +01:00
Vo Minh Thu
30d7253fef
[IMP] gunicorn: changed `print` with `logging.info`.
...
bzr revid: vmt@openerp.com-20120120160409-cu1vcw7cfa3z0zgy
2012-01-20 17:04:09 +01:00
Vo Minh Thu
5e2721aaf2
[IMP] gunicorn: commit suicide in the post_request hook instead of the pre_request hook.
...
bzr revid: vmt@openerp.com-20120120154322-f23rxofv0169tbsm
2012-01-20 16:43:22 +01:00
Vo Minh Thu
09347af434
[IMP] gunicorn: moved gunicorn hook to openerp.wsgi (just like previous hooks), added new command-line options.
...
bzr revid: vmt@openerp.com-20120120150050-3o3hg6k1n17alup0
2012-01-20 16:00:50 +01:00
Vo Minh Thu
ba178be7c0
[IMP] gunicorn: add CPU and memory limits.
...
bzr revid: vmt@openerp.com-20120120114612-xowu57yy3f5uxi0j
2012-01-20 12:46:12 +01:00
Olivier Dony
c68045e497
[FIX] expression: properly care for implicitly defined m2m fields used in search() domains
...
Now that m2m fields may be defined without explicitly
specifying the name of the relationship table and its
foreign key columns, all access to these internal
names should be done via m2m._sql_names().
This seems better than lazily initializing these
internal names and hoping that nothing accesses
them before the init.
bzr revid: odo@openerp.com-20120119151012-c38k5zl7rqherhth
2012-01-19 16:10:12 +01:00
Launchpad Translations on behalf of openerp
035b5b8bd5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120119045028-1hxblsnuw1g2r2vj
2012-01-19 04:50:28 +00:00
Vo Minh Thu
418739cf3e
[MERGE] cleaned some imports, removed some code for older python versions.
...
bzr revid: vmt@openerp.com-20120118160305-ucennaoqehjuut1z
2012-01-18 17:03:05 +01:00
Vo Minh Thu
5b57b7c5a9
[MERGE] added --db-template option.
...
bzr revid: vmt@openerp.com-20120118145334-sa190ihcos9iflcu
2012-01-18 15:53:34 +01:00
Olivier Dony
fbc0545842
[IMP] base: change conflicting address-related "State" fields to "Fed. State"
...
This will avoid ambiguous translations, until we can
implement some sort of context-sensitive translation
system.
lp bug: https://launchpad.net/bugs/918086 fixed
bzr revid: odo@openerp.com-20120118132900-427nc6j0p4h25bdn
2012-01-18 14:29:00 +01:00
Vo Minh Thu
0f9721533d
[IMP] fields: use simplejson instead of json (for consistency with orm.py).
...
bzr revid: vmt@openerp.com-20120118123334-xxunyo1ph8jiwxc0
2012-01-18 13:33:34 +01:00
Vo Minh Thu
c7094ab49f
[IMP] tools: removed our copy of the copy module.
...
bzr revid: vmt@openerp.com-20120118115743-ce6p993l8v2kqlux
2012-01-18 12:57:43 +01:00
Vo Minh Thu
a236a3ac75
[IMP] tools: removed deprecated debug() function.
...
bzr revid: vmt@openerp.com-20120118114910-xrynwguzu0e5zsng
2012-01-18 12:49:10 +01:00
Vo Minh Thu
8c3daeea12
[IMP] tools: removed __builtin__.{all,any} (they were there for previous python versions).
...
bzr revid: vmt@openerp.com-20120118114640-sm71f9fi48n4qn3q
2012-01-18 12:46:40 +01:00
Vo Minh Thu
b5caa70b83
[IMP] tools: removed some functools functions (they were there for previous python versions).
...
bzr revid: vmt@openerp.com-20120118114109-txh1cjv503xautty
2012-01-18 12:41:09 +01:00
Vo Minh Thu
4d77130107
[IMP] tools: removed literal_eval as we drop python 2.6 support.
...
bzr revid: vmt@openerp.com-20120118112400-n7uulbbwm7wr5lpu
2012-01-18 12:24:00 +01:00
Vo Minh Thu
ec597e354d
[MERGE] cleaned imports.
...
bzr revid: vmt@openerp.com-20120118111226-an43skezei7dla2v
2012-01-18 12:12:26 +01:00
Vo Minh Thu
14acff6cc4
[MERGE] use an import hook instead of appending to sys.path.
...
This replaces sys.path mutation with an import hook. It removes the clash
between our own 'resource' addons and the standard Python resource module. It
provides a transition between our current practice and a cleaner
'openerp.addons' namespace.
The import hook makes it possible to either 'import openerp.addons.hr' or
'import hr' in the addons (ie. both paths are set in sys.modules). When trying
to import an already existing (non-openerp) Python module (e.g. resource), it
will indeed load the Python module and print a warning (to invite you to use
openerp.addons.resource if this is the one you want).
Unfortunately, the import hook doesn't support self-referential imports. E.g.
hr.wizard.xxx can't use 'import hr.yyy' or 'from hr import yyy'. Python will
fail to load hr with cryptic error messages or even a segmentation fault.
Beginning with this patch, 'import openerp.addons.xxx' is the way to go,
'import xxx' is deprecated. Once 'import xxx' support can be removed, we will
probably support pkgutil or setuptool namespaces.
bzr revid: vmt@openerp.com-20120118104505-tns626ga47dwl7it
2012-01-18 11:45:05 +01:00
Vo Minh Thu
7e18a0c31d
[MERGE] added missing import, removed unused vars, corrected unnused variable (typo).
...
bzr revid: vmt@openerp.com-20120118103306-2eqsl07suw33mqyn
2012-01-18 11:33:06 +01:00
Launchpad Translations on behalf of openerp
76cb307537
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120117044453-wdb803waqsh0uaxt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044346-uk3yo505jmw90sxa
2012-01-18 04:43:46 +00:00
nicolas.bessi@camptocamp.com
8d826cc07d
[IMP] database template in commande line, you can now use --db_template=my_template, default is template0
...
bzr revid: nicolas.bessi@camptocamp.com-20120117164940-i3g1zcu49x0g60t5
2012-01-17 17:49:40 +01:00
Xavier Morel
b1985884fb
[FIX] link between binary field and file name is @filename, not @fieldname
...
lp bug: https://launchpad.net/bugs/915537 fixed
bzr revid: xmo@openerp.com-20120116140158-8tah34gwy01967u8
2012-01-16 15:01:58 +01:00
Vo Minh Thu
0ed4377cf8
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120112155027-u3bagec0g9fqr0yi
bzr revid: vmt@openerp.com-20120116110434-ckhp01ze83cwm32y
2012-01-16 12:04:34 +01:00
Florent Xicluna
f51dc9a0bd
[FIX] handle correctly the case when the PATH_INFO ends with a slash.
...
bzr revid: florent.xicluna@gmail.com-20120115235235-kw4vvmp622q8843f
2012-01-16 00:52:35 +01:00
Florent Xicluna
9f3096d31f
[FIX] missing import and remove unused vars.
...
bzr revid: florent.xicluna@gmail.com-20120115235215-6dgoxyu270bsquba
2012-01-16 00:52:15 +01:00
Florent Xicluna
290961f08a
[REF] consistently use simplejson as json library.
...
bzr revid: florent.xicluna@gmail.com-20120115214702-dh7i7w17ubepc6eo
2012-01-15 22:47:02 +01:00
Florent Xicluna
40c1de87d8
[REF] remove unused import, always import literal_eval from tools.safe_eval.
...
bzr revid: florent.xicluna@gmail.com-20120115214214-0rjwn80choc9g0fs
2012-01-15 22:42:14 +01:00
Launchpad Translations on behalf of openerp
9b02aed518
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120114051038-jxxvburcw1gihii5
2012-01-14 05:10:38 +00:00
Raphael Collet
3e59fe9556
[IMP] base: remove menuitem 'Import Module', as the feature is deprecated
...
bzr revid: rco@openerp.com-20120113140647-31tmnpqye7sdeh6u
2012-01-13 15:06:47 +01:00
Raphael Collet
615e65094a
[IMP] base: hide field 'street2' from company form view
...
bzr revid: rco@openerp.com-20120113135206-m3y3pwa3i2dqz23c
2012-01-13 14:52:06 +01:00
Launchpad Translations on behalf of openerp
bb0aba6522
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113043914-p7g5d8l3yp5zvxhs
2012-01-13 04:39:14 +00:00