Commit Graph

6330 Commits

Author SHA1 Message Date
Raphael Collet 980f6fc4b1 [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db
bzr revid: rco@openerp.com-20140409133515-x2ywcm0d2qkdq3hq
2014-04-09 15:35:15 +02:00
Raphael Collet dda229273d [IMP] sql_db: simplify TestCursor, given that method execute() does not need overriding
bzr revid: rco@openerp.com-20140409130825-rnc9hqh9t16hqcaq
2014-04-09 15:08:25 +02:00
Raphael Collet fd8fd0906f [IMP] make TestCursor more robust, and remove some tests on tools.config['test_enable']
bzr revid: rco@openerp.com-20140409103337-r0a1nx9h8nfg3cn3
2014-04-09 12:33:37 +02:00
Raphael Collet e5e00e4c0a [IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager
bzr revid: rco@openerp.com-20140409095604-joh9dt0qkma12ykm
2014-04-09 11:56:04 +02:00
Raphael Collet f0fd48c44a [IMP] http tests: implement a test cursor that keeps a transaction open accross requests
- TestCursor subclasses Cursor, and simulates commit and rollback with savepoints
 - the registry manages a test mode, in which it only uses the test cursor
 - a reentrant lock forces the serialization of parallel requests

bzr revid: rco@openerp.com-20140408151736-j0guy68i2wjexy3d
2014-04-08 17:17:36 +02:00
Raphael Collet 6bc60505f4 [IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Raphael Collet b49f536baf [IMP] tests.common: turn class methods into instance methods (this will ease some future refactoring)
bzr revid: rco@openerp.com-20140408114936-jfagg4qvft8bk3ms
2014-04-08 13:49:36 +02:00
Raphael Collet 81b84c62b1 [IMP] registry: switch for a dummy lock only during the execution of http tests
bzr revid: rco@openerp.com-20140408094513-ahtwod1q17ijohbg
2014-04-08 11:45:13 +02:00
Antony Lesuisse cee85a925a [FIX] temporary fix for concurrent commit during test until we improve test
cursor to emulate multiple cursors

bzr revid: al@openerp.com-20140407125050-c4fq8okuya4jxj0w
2014-04-07 14:50:50 +02:00
Antony Lesuisse 7c29e3847c [FIX] increase js test timeout to 60
when runbot is overloaded, test speed can be slow, 2s per HTTP request

bzr revid: al@openerp.com-20140403134109-nzg71xmybw1p5bsi
2014-04-03 15:41:09 +02:00
Martin Trigaux 7d585c5dad [FIX] convert datetime to date in case of date field
bzr revid: mat@openerp.com-20140401100819-k092i48lefozmdxb
2014-04-01 12:08:19 +02:00
Martin Trigaux cf1f20e5d5 [FIX] export: negation issue
bzr revid: mat@openerp.com-20140401090316-qog5uv6txyx46awi
2014-04-01 11:03:16 +02:00
Martin Trigaux 4074a01041 [ADD] orm: add the possibility to export in raw format instead of all string
lp bug: https://launchpad.net/bugs/844569 fixed

bzr revid: mat@openerp.com-20140331151743-94sk4xd7cr3dzn8m
2014-03-31 17:17:43 +02:00
Launchpad Translations on behalf of openerp 035b1e8f8e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140328054140-ah12f1yhv5rf4v5c
2014-03-28 05:41:40 +00:00
Fabien Pinckaers e07a30b390 [IMP] reduced size flags
bzr revid: fp@tinyerp.com-20140327143121-urq4t2pka572t0uv
2014-03-27 15:31:21 +01:00
Fabien Pinckaers 3740999aa1 [IMP] reduced flag size
bzr revid: fp@tinyerp.com-20140327142933-5angwxh2ed13lobn
2014-03-27 15:29:33 +01:00
Fabien Pinckaers eca47b9d82 [IMP] reduced image size
bzr revid: fp@tinyerp.com-20140327142750-guuci39g1500yu01
2014-03-27 15:27:50 +01:00
Fabien Meghazi 8a4a10b2c0 [MERGE] remote module import
bzr revid: fme@openerp.com-20140327140516-t7yrma5z2ipm4gnd
2014-03-27 15:05:16 +01:00
Fabien Meghazi 9ab3ed7c27 [REM] not using the ir.module.module 'virtual' field after all
fp said the non existent module warning is not a problem

bzr revid: fme@openerp.com-20140327115759-a20gqydv2oro4rmr
2014-03-27 12:57:59 +01:00
Fabien Meghazi e6aadeb58c [FIX] Set correct record id for <template> tag converter
bzr revid: fme@openerp.com-20140327103844-irs3dga2xs969mdk
2014-03-27 11:38:44 +01:00
chm@openerp.com 533df32518 [IMP] res.country: add flag image field in res.country with flag data
bzr revid: chm@openerp.com-20140327090416-10bocijzm8gmgj0i
2014-03-27 10:04:16 +01:00
Fabien Meghazi 4d850cdbc9 [REV] revert refresh_routing_map
bzr revid: fme@openerp.com-20140326160150-daoc6fypcmckyynk
2014-03-26 17:01:50 +01:00
Fabien Meghazi 2eea637227 [MERGE] upstream
bzr revid: fme@openerp.com-20140326152307-d0rn3yuzel11457g
2014-03-26 16:23:07 +01:00
Kersten Jeremy c2e259d8a3 [FIX] Use all users (disabled also) in execute of res_config for implies group. Else, public user or old user don't get the right permission/group.
bzr revid: jke@openerp.com-20140326140509-7zspikcekfsyjb0p
2014-03-26 15:05:09 +01:00
Antony Lesuisse 483bc96682 [IMP] wsgi and http cleanups, static http is now handled in http.py
bzr revid: al@openerp.com-20140326132057-scuiqvqma9dhyorl
2014-03-26 14:20:57 +01:00
Christophe Simonis 5b2634bd6e [FIX] init logger earlier, right after config loading
bzr revid: chs@openerp.com-20140325154627-cmodvx26jayj3k4a
2014-03-25 16:46:27 +01:00
Fabien Meghazi f86967960d [MERGE] upstream
bzr revid: fme@openerp.com-20140325153725-67hb463km4yvsnoe
2014-03-25 16:37:25 +01:00
chm@openerp.com 82989d95f7 [FIX] phantomjs: hide error if document.body does not exists
bzr revid: chm@openerp.com-20140325092547-ilnbqdj4rhdo0q3r
2014-03-25 10:25:47 +01:00
chm@openerp.com 105c26e623 [MERGE] from trunk
bzr revid: chm@openerp.com-20140324082422-38x5kcnh830200wl
bzr revid: chm@openerp.com-20140325084953-s3sl2f1un7z08wxy
2014-03-25 09:49:53 +01:00
Simon Lejeune fba94c1827 [MERGE] trunk
bzr revid: sle@openerp.com-20140324164442-bdxf7faei0rmlemj
2014-03-24 17:44:42 +01:00
Simon Lejeune d51f4f80ab [IMP] ir.actions.report.xml form view: hide the attachmend fields when report_type controller is selected
bzr revid: sle@openerp.com-20140324162616-93qkrv5xb4yrt3oj
2014-03-24 17:26:16 +01:00
Christophe Simonis a8e1aba23b [FIX] http: when generating static routes, only wrap dispatcher only if there is any new static directory found
bzr revid: chs@openerp.com-20140324161257-fi1cpgyd97825b14
2014-03-24 17:12:57 +01:00
Simon Lejeune ab003bfea6 [IMP] ir_actions wording
bzr revid: sle@openerp.com-20140324150533-bs1lwvhd2z2jow8m
2014-03-24 16:05:33 +01:00
Simon Lejeune a7e061079d [MERGE] trunk
bzr revid: sle@openerp.com-20140324144056-2waohi777m0lzznm
2014-03-24 15:40:56 +01:00
Simon Lejeune 48f785d786 [REF] Moved qweb contact from website to base and removed the from_html method (it never worked)
bzr revid: sle@openerp.com-20140324135723-2f8owtcotk3n9jt8
2014-03-24 14:57:23 +01:00
Christophe Simonis 7c4557add2 [FIX] http: nodb_routing_map become a lazy property. load_addons() is also lazy called
bzr revid: chs@openerp.com-20140324122610-dodj6tme5xpbkc3i
2014-03-24 13:26:10 +01:00
Christophe Simonis c8eddb7d22 [ADD] openerp.tools.func.lazy_property():
Decorator for a lazy property of an object, i.e., an object attribute
 that is determined by the result of a method call evaluated once. To
 reevaluate the property, simply delete the attribute on the object, and
 get it again.

bzr revid: chs@openerp.com-20140324120001-935d90ye7tb8a5q4
2014-03-24 13:00:01 +01:00
Christophe Simonis 58bd4d4950 [FIX] http: register the wsgi handler directly
bzr revid: chs@openerp.com-20140324093116-fuunq90t9qb5p8w5
2014-03-24 10:31:16 +01:00
Simon Lejeune a3be66bb49 [IMP] ir.actions.report.xml views/models adapted for report_type controller
bzr revid: sle@openerp.com-20140321184739-0dmft3odaws85m7e
2014-03-21 19:47:39 +01:00
Christophe Simonis fdd1f69294 [FIX] duplicate/rename/drop database: handle filestore
bzr revid: chs@openerp.com-20140321155659-gvg4br76214lur4l
2014-03-21 16:56:59 +01:00
Christophe Simonis 806648d611 [IMP] tools.exec_pg_command: hide command output
bzr revid: chs@openerp.com-20140321155605-u96hd1da3rrrmcgg
2014-03-21 16:56:05 +01:00
Dharmraj Jhala (OpenERP) f7621ff8be [MERGE] with latest trunk server
bzr revid: pga@tinyerp.com-20140228054414-z2x4vufay1gbbpao
bzr revid: dizzy.zala@gmail.com-20140318065312-uq43i2aiha1kn3d0
bzr revid: dizzy.zala@gmail.com-20140319090323-0srxjge14cw8y4wv
bzr revid: dizzy.zala@gmail.com-20140320064008-fj9merih0wtz6tz6
bzr revid: dizzy.zala@gmail.com-20140321073141-f54b3lqel1l9lgq2
2014-03-21 13:01:41 +05:30
Fabien Meghazi 0f9905b9f1 [IMP] better syntax for routing_map cache invalidation
bzr revid: fme@openerp.com-20140320153651-4lkoekzhawny0p85
2014-03-20 16:36:51 +01:00
Fabien Meghazi b8368d8182 [WIP] added virtual field. will probably change the name of this field
bzr revid: fme@openerp.com-20140320150348-5tv7j2he26mhqpco
2014-03-20 16:03:48 +01:00
Kersten Jeremy 720339ed1d [MERGE] Merge branch lp:~numerigraphe/openobject-server/7.0-translation-order-933496-numerigraphe
bzr revid: jke@openerp.com-20140320090105-fl2jt7hhplwu6dgr
2014-03-20 10:01:05 +01:00
Launchpad Translations on behalf of openerp 800ab84e3b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320054727-1wcctx54alajpzne
2014-03-20 05:47:27 +00:00
Antony Lesuisse e73230d0fc ir_logging fix logger names
bzr revid: al@openerp.com-20140320000912-1a5hngnw8ilq22k8
2014-03-20 01:09:12 +01:00
Antony Lesuisse 6e4db0a0a6 ir_logging fix config option
bzr revid: al@openerp.com-20140320000524-gs98xy6iqh2ceev6
2014-03-20 01:05:24 +01:00
Antony Lesuisse 666f4d0801 [MERGE] trunk
bzr revid: al@openerp.com-20140319235117-7trt1y3927mml13u
2014-03-20 00:51:17 +01:00
Antony Lesuisse 48d3befa07 ir_logging disabled by default
bzr revid: al@openerp.com-20140319234542-jsmxchx7tuv13e13
2014-03-20 00:45:42 +01:00