Commit Graph

6468 Commits

Author SHA1 Message Date
Richard Mathot (OpenERP) 700763f2da [MERGE][IMP] More explicit error message in res_currency
bzr revid: rim@openerp.com-20140423074037-igw9je00rcfgfzia
2014-04-23 09:40:37 +02:00
Richard Mathot (OpenERP) 22df13f4fd [FIX] res_currency: Removing unnecessary 'browse'
bzr revid: rim@openerp.com-20140423073511-kkjkt0a0baxz3466
2014-04-23 09:35:11 +02:00
Christophe Simonis 618fbde36f [MERGE] forward port of branch saas-4 up to revid 9365 chs@openerp.com-20140422143249-3cfh18tenn3a5ry1
bzr revid: chs@openerp.com-20140422144651-840zze7p5549k88s
bzr revid: chs@openerp.com-20140422144933-0su8g7pgrcloijco
2014-04-22 16:49:33 +02:00
Christophe Simonis a2b3b47b38 [FIX] cli mode: initialisation of the addons path do not setup the logger (as we only parse the addons path, we ends with the default logging config)
bzr revid: chs@openerp.com-20140422123533-b6lcm76ydf8vpw9u
2014-04-22 14:35:33 +02:00
Christophe Simonis ada7facefe [FIX] when runing in prefork mode, empty connection pool *after* the registry preloading
bzr revid: chs@openerp.com-20140422120648-2np8izn19z97e4iy
2014-04-22 14:06:48 +02:00
Rakesh Sindhav (OpenERP) 65c1b294b2 [MERGE][IMP] res_bank & res_county: missing labels in form views
bzr revid: rim@openerp.com-20140422090439-sbljlpntcv10s7da
2014-04-22 11:04:39 +02:00
Christophe Simonis c3cf8000e6 [FIX] module loading: mark module as initialized *after* the data files have been loaded
When the registry is updating, the view verification only validates the views 
from initialized modules. Not taking the current module allow update of views
that have also an inherited view in the same module. The verification of the base view
must not try to apply the old inherited view against it as it may not be applicable
anymore. 

After module update, we re-validate all the views of this module. This is needed because
a module can declare two (or more) inherited views that are correct when applyed alone,
but not when combined with others.

bzr revid: chs@openerp.com-20140418141550-7b57b1xl4fx0rgqq
2014-04-18 16:15:50 +02:00
Christophe Simonis 66ba3092cf [FIX] http: correct detection of old (v7) routes that still take "req" as first argument
bzr revid: chs@openerp.com-20140418115556-717tlcwejszmi0lb
2014-04-18 13:55:56 +02:00
Bharat R. Devnani (OpenERP) a684b9a96a [MERGE] merged with main server branch
bzr revid: bde@tinyerp.com-20140418061057-r33mkw0xqmmmk5ff
2014-04-18 11:40:57 +05:30
Christophe Simonis efbf7632b8 [FIX] some tests need the http daemon to be available
bzr revid: chs@openerp.com-20140417170620-48tw5nj3jt43zxgk
2014-04-17 19:06:20 +02:00
Christophe Simonis 2024cc28b2 [FIX] when running in threaded mode with "--stop-after-init", do not spawn httpd and cron thread
bzr revid: chs@openerp.com-20140417162801-se9s84dsoh45sq0v
2014-04-17 18:28:01 +02:00
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
Christophe Simonis f1f3e73604 [REL] saas-4
bzr revid: chs@openerp.com-20140417083457-xg5kyml7t92chir7
2014-04-17 10:34:57 +02:00
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
Rakesh Sindhav (OpenERP) 3b00ebebf4 [IMP]base: Need view improvements in some modules
bzr revid: rsi@tinyerp.com-20140411131501-rvdrg4v2if1akhsg
2014-04-11 18:45:01 +05:30
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