Commit Graph

6446 Commits

Author SHA1 Message Date
Darshan Kalola 37bf72aca5 [MERGE] [IMP] res_partner: correctly take the 'use parent address'
into account in the onchange. Slightly updated the view that was weird with this parameter.

bzr revid: tde@openerp.com-20140417145522-yte3976um2a1t0dr
2014-04-17 16:55:22 +02:00
Darshan Kalola 7cd07d0c1f [MERGE] [IMP] ir_ui_view: kanban view: also add action_enabled information
about the columns in kanban view. This allows to display the 'create a new column', as well as 'edit' or 'delete'
options on column in kanban view, based on the users' access rights.

bzr revid: tde@openerp.com-20140417114033-39rez93cmcwask69
2014-04-17 13:40:33 +02:00
Darshan Kalola (OpenERP) 19d2466b0f [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140417102052-b84zv8e1m32jo19j
2014-04-17 15:50:52 +05:30
Darshan Kalola (OpenERP) d75405572f [IMP]removed use_company_address method, added same feature in single method, to achive this added new parameter 'empty_fields' to empty all address field when use compny address is unchecked.
bzr revid: dka@tinyerp.com-20140417101219-gs68pfe64a7l97hc
2014-04-17 15:42:19 +05:30
Quentin (OpenERP) 104451bd56 [FIX] fields.date's date_to_datime function fixed
bzr revid: qdp-launchpad@openerp.com-20140416154450-ws9w6wzf9s5kmjjj
2014-04-16 17:44:50 +02:00
Launchpad Translations on behalf of openerp 54907b2c48 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140417055523-1cxq9nzdf7w0rr20
2014-04-17 05:55:23 +00:00
Denis Ledoux 42025a6af5 [ADD] osv: add get_formview_action and get_formview_id methods
return an action to open the document. This method is meant to be
overridden in addons that want to give specific view ids for example

bzr revid: dle@openerp.com-20140416143431-syqu1ko74xt04oo5
2014-04-16 16:34:31 +02:00
Kersten Jeremy 73bbf079c7 [MERGE] qweb-m2o-view - Allow to use many2one for qweb template (work also with view_id)
bzr revid: jke@openerp.com-20140416085407-krltmt3jhw802a5c
2014-04-16 10:54:07 +02:00
Christophe Simonis 15e151dca7 [IMP] orm: postprocess function field values in batch
bzr revid: chs@openerp.com-20140415162321-l8hgeh6s48252zhl
2014-04-15 18:23:21 +02:00
Darshan Kalola (OpenERP) 2f9c0ad1af [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140415091644-v0kfy7qiybm2uccl
2014-04-15 14:46:44 +05:30
Quentin (OpenERP) 43b8d2aec1 [IMP] fields.date: added date_to_datetime function
bzr revid: qdp-launchpad@openerp.com-20140414153613-geu20zacxnf0swol
2014-04-14 17:36:13 +02:00
Richard Mathot (OpenERP) 96417099b3 [MERGE] Sync with trunk
bzr revid: ypa@tinyerp.com-20140404114223-zalha5tvp2l0ov8f
bzr revid: rim@openerp.com-20140414091137-icatnn1humn7kisc
2014-04-14 11:11:37 +02:00
Raphael Collet ea167ad7ab [IMP] test cursor: code cleanup to make it more robust to concurrent accesses
bzr revid: rco@openerp.com-20140414075906-2d0i4qhe4x7czsao
2014-04-14 09:59:06 +02:00
Antony Lesuisse e69b086ecd [FIX] logging, pg logging use thread db
bzr revid: al@openerp.com-20140412134728-vzn9247twgyfbcid
2014-04-12 15:47:28 +02:00
Thibault Delavallée ac8f4d62a5 [IMP] [FIX] ir_qweb: fixed a call to a parameter considered as being
a dict but that could be None; added management of country flag on the
contact widget.

bzr revid: tde@openerp.com-20140411183425-nzhuk6mb80pahvwm
2014-04-11 20:34:25 +02:00
Antony Lesuisse f0dcf52159 [FIX] instrumentation to debug a deadlock probably due to a race condition in
the test cursor

bzr revid: al@openerp.com-20140411143645-ojb4t9plop4dmizh
2014-04-11 16:36:45 +02:00
Thibault Delavallée 2929f2438a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411140929-7w4qo086j991houy
2014-04-11 16:09:29 +02:00
Richard Mathot (OpenERP) 1e330fdd9e [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140401071103-v3290rmesztf6rjl
bzr revid: rim@openerp.com-20140402073433-y5spv10ms9nnmdim
bzr revid: rim@openerp.com-20140404062949-88d0tqhn8mr4ejnz
bzr revid: rim@openerp.com-20140407141506-e54pr3bwtnts6y3g
bzr revid: rim@openerp.com-20140408140530-fy6u3iz2x75xil9c
bzr revid: rim@openerp.com-20140409193801-ckzgmc5zfjlg4irk
bzr revid: rim@openerp.com-20140410120421-md5ts8wxd33mitnl
bzr revid: rim@openerp.com-20140410152240-t54id35dkowbqi56
bzr revid: rim@openerp.com-20140411115553-cbd8pq1yafkv7qcr
2014-04-11 13:55:53 +02:00
Thibault Delavallée 24e5270347 [IMP] ir_qweb: added country flag management in contact widget
bzr revid: tde@openerp.com-20140411091621-q0c2ndzv9xpptzqo
2014-04-11 11:16:21 +02:00
chm@openerp.com 9941f49364 [MERGE] from trunk
bzr revid: chm@openerp.com-20140411081513-xlptxuxmvs5ysb8s
2014-04-11 10:15:13 +02:00
Martin Trigaux 478cbd7c70 [FIX] read_group: avoid shared context and initialise if none
bzr revid: mat@openerp.com-20140411075556-kdxn1lsth45twgmj
2014-04-11 09:55:56 +02:00
Christophe Simonis 979bb51925 [IMP] ir.attachment: add method to force all attachments to use selected storage
bzr revid: chs@openerp.com-20140410152039-hyf0yaizw8p4weg0
2014-04-10 17:20:39 +02:00
Christophe Simonis 95701c28c0 [FIX] test: HttpCase wait http requests to finish
bzr revid: chs@openerp.com-20140410123519-wngil3aghdc6llqc
2014-04-10 14:35:19 +02:00
Gery Debongnie c6f41caf99 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140409120604-tgc4o9zkkr69sf4q
bzr revid: ged@openerp.com-20140409150557-1wsyuvpw1ly75fhn
bzr revid: ged@openerp.com-20140410133251-k200ui19hjs6jnur
2014-04-10 15:32:51 +02:00
Raphael Collet d67e63150e [FIX] sql_db: forgotten attribute renaming _pool -> __pool
bzr revid: rco@openerp.com-20140410113950-71gcyz0t2rfuww57
2014-04-10 13:39:50 +02:00
Christophe Simonis 15680c94e1 [MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140410105454-6utwgruj80h8wdss
2014-04-10 12:54:54 +02:00
Christophe Simonis 3d2e9b4d2b [MERGE] forward port of branch 7.0 up to revid 5281 launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: jke@openerp.com-20140409153527-mic1a8afcvdhsd27
bzr revid: chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140415133650-y46i0o3qkb2atbvi
2014-04-15 15:36:50 +02:00
Launchpad Translations on behalf of openerp 001a034e58 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094217-3u3f03f0wjhbzyo4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140413062047-z833pejjrtuhfygs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140414055948-intynzk8l823ukei
2014-04-14 05:59:48 +00:00
Christophe Simonis 52760fd424 [FIX] modules: install_from_urls: restrict to administrators. Urls must come from apps server.
[FIX] modules: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.

bzr revid: chs@openerp.com-20140410095817-bkni63g346wneybb
2014-04-10 11:58:17 +02:00
chm@openerp.com 9d187f9915 [IMP] ir_qweb: first tag 't' template of a view is added to qwebcontext.templates with id of ir_ui_view
bzr revid: chm@openerp.com-20140410080058-tx59gwh8nsefria3
2014-04-10 10:00:58 +02:00
Kersten Jeremy 3285feab53 [FIX] Allow missing opcodes, harden check for private attributes (dunder), check inside embedded code objects.
bzr revid: jke@openerp.com-20140409151659-xwttchbtbj02v1w7
2014-04-09 17:16:59 +02:00
Raphael Collet 5640f3076a [MERGE] test_cursor: implement a cursor mockup that never commits to database, and use it for http tests
bzr revid: rco@openerp.com-20140409145830-rop8esgic2y435kf
2014-04-09 16:58:30 +02:00
jba 1578776814 [FIX] expression: when evaluatoing *like operator, add cast to text to column in case of different type
bzr revid: mat@openerp.com-20140409144346-nbn0dno3bs6ozwk5
2014-04-09 16:43:46 +02:00
Raphael Collet be0096c4a7 [FIX] registry: stupid typo
bzr revid: rco@openerp.com-20140409135225-6ks1kbuchba7u4li
2014-04-09 15:52:25 +02:00
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
chm@openerp.com 64462173c1 [IMP] ir_qweb, ir_ui_view: can use id insead of xml_id; can render ir.ui.view many2one with widget='qweb' in template
bzr revid: chm@openerp.com-20140409124626-ccxnfef7bb7h1gm6
2014-04-09 14:46:26 +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
Gery Debongnie 2df67ad6c9 [FIX] make sure the read_group method use the correct time interval when grouping with an interval of days (stupid typo) (orm.py)
bzr revid: ged@openerp.com-20140409092759-91ruq32vkxh698kh
2014-04-09 11:27:59 +02:00
Darshan Kalola (OpenERP) 6ef7aa5134 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140409084452-w1e499j21i3eli9d
2014-04-09 14:14:52 +05:30
Launchpad Translations on behalf of openerp c8b88d0f02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409061259-ap1np1ygzq8srd4c
2014-04-09 06:12:59 +00: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
Gery Debongnie e143250b7a [IMP] simplifies the readgroup code to select order by (orm.py)
bzr revid: ged@openerp.com-20140408122417-y75wp0plyloiamuy
2014-04-08 14:24:17 +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
Gery Debongnie 5d31c979a1 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140408090618-vs4e9c9ckhat9aem
2014-04-08 11:06:18 +02:00
Gery Debongnie 6d234c01bd [IMP] change the regex matching orders in orm.py to accept field:interval. This simplifies the code in _check_qorder (no need to compute the raw field name)
bzr revid: ged@openerp.com-20140408090418-5yjnfp6axumytmrq
2014-04-08 11:04:18 +02:00
Gery Debongnie 568b8c7632 [IMP] add and fix the documentation on some helper methods in read_group. (orm.py)
bzr revid: ged@openerp.com-20140408082029-pmdzkbak0zjvs8jw
2014-04-08 10:20:29 +02:00