Commit Graph
27581 Commits
Author SHA1 Message Date
Xavier Morel a9da2abd9f [FIX] double-load on successful login
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).

Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.

Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).

bzr revid: xmo@openerp.com-20111003090709-ree0luomezw1wzup
2011-10-03 11:07:09 +02:00
Xavier Morel bb596c1bfc [FIX] al hacks
bzr revid: xmo@openerp.com-20111003084150-6ti0fa221h14wiik
2011-10-03 10:41:50 +02:00
Antony Lesuisse 3a12aa8d7c [FIX] dont use werkzeug.urls not available in 0.5 (lucid)
bzr revid: al@openerp.com-20111001175924-s1rk41xx2i22plax
2011-10-01 19:59:24 +02:00
Antony Lesuisse 84f188ce7d [MERGE] ir_sequence remove unused codes and cleanups
bzr revid: al@openerp.com-20111001111926-e7iu4a2lov9i57ft
2011-10-01 13:19:26 +02:00
Antony Lesuisse 0bf7a82a13 [FIX] l10n_ch journals
bzr revid: al@openerp.com-20111001105155-v1divpeiv4lf9t3c
2011-10-01 12:51:55 +02:00
Antony Lesuisse 756cc2efc6 [FIX] sale tests
bzr revid: al@openerp.com-20111001103301-q4sso7nlangda928
2011-10-01 12:33:01 +02:00
Antony Lesuisse c1db529fa6 [IMP] stock create a stock journal sequence
bzr revid: al@openerp.com-20111001100804-9pdy1k8r761ieoal
2011-10-01 12:08:04 +02:00
Antony Lesuisse a1e940627b [IMP] rename invoice into account_invoice
bzr revid: al@openerp.com-20111001095720-h2prjp5due7rukir
2011-10-01 11:57:20 +02:00
Antony Lesuisse dfb06e8927 [IMP] sequence rename
bzr revid: al@openerp.com-20111001094046-oegvubdeivrgnij3
2011-10-01 11:40:46 +02:00
Antony Lesuisse 92300c9c63 [IMP] Remove account sequence code madness
bzr revid: al@openerp.com-20111001093437-hplwdkq57wcspcv9
2011-10-01 11:34:37 +02:00
Launchpad Translations on behalf of openerp 1e3e2daffa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111001050744-5qxl5nnc5m0splxj
bzr revid: launchpad_translations_on_behalf_of_openerp-20111001050814-3bw7ldbt1om0q1zr
2011-10-01 05:08:14 +00:00
Antony Lesuisse 2a761b1f18 [MERGE] account ir_sequence new api
bzr revid: al@openerp.com-20111001000827-070zkpw85mnadcv1
2011-10-01 02:08:27 +02:00
Antony Lesuisse 53c6ab6752 [IMP] rename sequence into ir_sequence
bzr revid: al@openerp.com-20111001000455-opnivkh5nvvutv2y
2011-10-01 02:04:55 +02:00
Antony Lesuisse ee70781dbe [IMP] account ir_sequence fiscal year using the new _next api
bzr revid: al@openerp.com-20110930233630-c8pbenf99yaekt3t
2011-10-01 01:36:30 +02:00
Antony Lesuisse 663d056d6a [FIX] auth_openid web_preload is deprecated use --load=auth_openid
bzr revid: al@openerp.com-20110930201308-rc5sgueu4ixrvu02
2011-09-30 22:13:08 +02:00
Antony Lesuisse 4ec1113d94 [IMP] deprecate web_preload in favor of --load, server_wide_modules config option
bzr revid: al@openerp.com-20110930201018-aw9s26iqyd6rns05
2011-09-30 22:10:18 +02:00
Antony Lesuisse 859cf8ed3c [MERGE] auth_openid disabled by default
bzr revid: al@openerp.com-20110930185842-tqke1bdyhuogkcag
2011-09-30 20:58:42 +02:00
Antony Lesuisse d83c9f8bc0 [MERGE] new livechat web module chs
bzr revid: al@openerp.com-20110930184905-z94od8uc6yvsfytw
2011-09-30 20:49:05 +02:00
niv-openerp ea79880c3c [imp] disable buttons in form views during the execution of its action
bzr revid: nicolas.vanhoren@openerp.com-20110930161506-bbffc4gjdt43pbvn
2011-09-30 18:15:06 +02:00
niv-openerp c3d08fa5dd [fix] problem with o2m displaying clickable button in unsaved record
bzr revid: nicolas.vanhoren@openerp.com-20110930154612-d2q5z3fy1ouih1fm
2011-09-30 17:46:12 +02:00
Vo Minh Thu f734d04490 [FIX] account/sequence: forgot the fallback case.
bzr revid: vmt@openerp.com-20110930154550-49m7dwzcpylnz91s
2011-09-30 17:45:50 +02:00
Vo Minh Thu 4d1c62316c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110930151630-kd84ev0vvs4iu6n8
2011-09-30 17:16:30 +02:00
Christophe Simonis c71520ea0d [IMP] web_livechat: convert to 6.1 web module
bzr revid: chs@openerp.com-20110930150706-84xo4e21l58j9esw
2011-09-30 17:07:06 +02:00
Xavier Morel d4d2b1b5b8 [FIX] don't break when @colors end with a semicolon
bzr revid: xmo@openerp.com-20110930132941-mw8byod4xanb8dat
2011-09-30 15:29:41 +02:00
Christophe Simonis d028d22992 [ADD] auth_openid module
bzr revid: chs@openerp.com-20110930132858-jsxqo21l7pn172av
2011-09-30 15:28:58 +02:00
Julien Thewys 32cdec2c72 [FIX] hr_holidays: made 2 view titles more consistent
Ported from 6.0

bzr revid: jth@openerp.com-20110930132124-0iobx63ylsz352oe
2011-09-30 15:21:24 +02:00
niv-openerp d364df65ce [fix] lot of potential problems when we change something in the code due to the pickled session containing the config
bzr revid: nicolas.vanhoren@openerp.com-20110930130729-yfys0tklsujgm3ti
2011-09-30 15:07:29 +02:00
niv-openerp c3a9330838 [imp] removed some useless parameters in the openerp session
bzr revid: nicolas.vanhoren@openerp.com-20110930125809-x6n119zuu9o546u7
2011-09-30 14:58:09 +02:00
Olivier Dony 0bb9cbd51b [FIX] sale: slightly more robust default shop definition
bzr revid: odo@openerp.com-20110930105111-a3no58iprq0qwm55
2011-09-30 12:51:11 +02:00
Olivier Dony c39513038a [FIX] share: un-needed groups attribute, also contains typo
lp bug: https://launchpad.net/bugs/863089 fixed

bzr revid: odo@openerp.com-20110930082749-noyygg1rvpmd9343
2011-09-30 10:27:49 +02:00
Xavier Morel 6bb8d8ea85 [ADD] readonly & movable form view
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
2011-09-30 10:12:47 +02:00
Launchpad Translations on behalf of openerp 8507f7cc4a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110930043724-cv7w2vcqt7soa9gc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110930044048-j5gv3hmo9cj3dhyg
2011-09-30 04:40:48 +00:00
Antony Lesuisse 9fbcaa2d06 [IMP] audittrail cleanup and speedup
- test for auditrail before anything else
- dont allocate a different cursor

bzr revid: al@openerp.com-20110929222347-c2ywh8nwhl27d9uv
2011-09-30 00:23:47 +02:00
niv-openerp eb92957c8c [fix] obvious bug, field used in a on_change but not declared in the view
bzr revid: nicolas.vanhoren@openerp.com-20110929154007-gtxf31frsuukepvf
2011-09-29 17:40:07 +02:00
niv-openerp 58ece9f856 [fix] error message when login invalid broken
bzr revid: nicolas.vanhoren@openerp.com-20110929151322-zcymbsemo962ky0j
2011-09-29 17:13:22 +02:00
niv-openerp 5c2d8e4cdc [fix] problem in database when creating a new database
bzr revid: nicolas.vanhoren@openerp.com-20110929145751-4oh0b9uqll8wx3zj
2011-09-29 16:57:51 +02:00
Xavier Morel ba86faac47 [IMP] shave ~190ms off of *big* listview rendering speed
make conversion of internal Records to form-shape faster by iterating over the attributes object directly instead of using _.each

bzr revid: xmo@openerp.com-20110929145031-q7mqf43gza94ekj6
2011-09-29 16:50:31 +02:00
Xavier Morel 3cde15fe01 [ADD] evaluator proof of concept: colors in list rows
bzr revid: xmo@openerp.com-20110929144036-7u2w6pf6lwkvzck0
2011-09-29 16:40:36 +02:00
Xavier Morel d793d6c1ae [ADD] atom context keys (uid and current_date) to evaluation context of row colors
bzr revid: xmo@openerp.com-20110929142410-1f9btd6f3ws0srpj
2011-09-29 16:24:10 +02:00
Xavier Morel d32d0c5637 [IMP] update py.parse to 0.2
bzr revid: xmo@openerp.com-20110929135449-ssommvnyof6auy29
2011-09-29 15:54:49 +02:00
Vo Minh Thu bd341cc6fe [IMP] ir_sequence: call it with the new methods.
bzr revid: vmt@openerp.com-20110929132254-eevlq6t9d6i6um7z
2011-09-29 15:22:54 +02:00
Vo Minh Thu 6c90db2dde [IMP] ir_sequence: adapt addons code to server changes.
bzr revid: vmt@openerp.com-20110929124858-9nr2gbpuxc6k7ofx
2011-09-29 14:48:58 +02:00
niv-openerp a658311000 [imp] now uses a global connector for connection to OpenERP server
bzr revid: nicolas.vanhoren@openerp.com-20110929121732-xydsj26xw9fyn1hr
2011-09-29 14:17:32 +02:00
niv-openerp 3c7093aa6e [imp] synch with client lib
bzr revid: nicolas.vanhoren@openerp.com-20110929102832-j3sdi29poe48vq2o
2011-09-29 12:28:32 +02:00
Antony Lesuisse 6c1d725c21 [MERGE] hr product projet_issue kanban views
bzr revid: al@openerp.com-20110929100917-d94q84r6dftvjsz0
2011-09-29 12:09:17 +02:00
Xavier Morel c6e77707ee [FIX] match first form header only so that we get the header for current form not sub-forms
bzr revid: xmo@openerp.com-20110929090205-0vn4dt4qixao5us1
2011-09-29 11:02:05 +02:00
Xavier Morel bdf7076f23 [FIX] code should use abscissa, not first_field
bzr revid: xmo@openerp.com-20110929083013-85voh4e8062vx8hx
2011-09-29 10:30:13 +02:00
Xavier Morel ccd607aae5 [IMP] cleanup and simplify graph view implementation, update underscore.string
bzr revid: xmo@openerp.com-20110929075550-o58x8sxa165sky1r
2011-09-29 09:55:50 +02:00
Xavier Morel fff01535ba [IMP] avoid reading all fields of the object on big models
bzr revid: xmo@openerp.com-20110929075126-1w9wa3695w3zfr5y
2011-09-29 09:51:26 +02:00
Amit (OpenERP) 2c9e939046 [MERGE]
bzr revid: apa@tinyerp.com-20110929051407-i8890ez3ad564j6g
2011-09-29 10:44:07 +05:30