Commit Graph
36501 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
Xavier Morel 5ad882f880 [FIX] standalone client default threading
bzr revid: xmo@openerp.com-20110930153110-k0pps1wl9d2o12c1
2011-09-30 17:31:10 +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 fb9defcfff [MERGE] packaging part1 tgz
bzr revid: al@openerp.com-20111001173741-otvj0oqmsd77kag7
2011-10-01 19:37:41 +02:00
Antony Lesuisse 2852da3f34 [IMP] packaging depends
bzr revid: al@openerp.com-20111001170147-tz9wattxbdqwicl5
2011-10-01 19:01:47 +02:00
Antony Lesuisse 47014a4980 [IMP] packaging depends
bzr revid: al@openerp.com-20111001164914-34dwbgb94beshlls
2011-10-01 18:49:14 +02:00
Antony Lesuisse 4af0626299 [IMP] debian package part1
bzr revid: al@openerp.com-20111001162731-6cqw1usxrb6045vl
2011-10-01 18:27:31 +02:00
Antony Lesuisse 92caa6c58c [FIX] major_version is actually required
bzr revid: al@openerp.com-20111001143351-7jll0sd5qs3izu92
2011-10-01 16:33:51 +02:00
Antony Lesuisse 78ddee02bf [IMP] packaging timestamp support
bzr revid: al@openerp.com-20111001135713-85akuaixth6ep1fz
2011-10-01 15:57:13 +02:00
Antony Lesuisse dbb99ced9b [IMP] packaging rename into openerp
bzr revid: al@openerp.com-20111001134222-0vjbvasuo5kvy255
2011-10-01 15:42:22 +02:00
Antony Lesuisse cd972ba503 [IMP] packagin setup.py dont rely on cwd
bzr revid: al@openerp.com-20111001133251-tlad32kl2c1rjib9
2011-10-01 15:32:51 +02:00
Antony Lesuisse f94a1d1d14 [IMP] config set --load default to web, this will be cleaned up by metaoptions
bzr revid: al@openerp.com-20111001131619-3r32vd8atr8ebego
2011-10-01 15:16:19 +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 119c38cb63 [MERGE] versioned xmlrpc api xmlrpc-1 vmt
bzr revid: al@openerp.com-20111001013319-cis8juelfv8twlex
2011-10-01 03:33:19 +02:00
Antony Lesuisse 0b95d29ca9 [FIX] abort_response typo
bzr revid: al@openerp.com-20111001013254-obq2j3cqxwn20iq0
2011-10-01 03:32:54 +02:00
Antony Lesuisse 2a51c9a0ca [IMP] misc renames
bzr revid: al@openerp.com-20111001012801-kkk39qlm4o8hk025
2011-10-01 03:28:01 +02:00
Antony Lesuisse ace4703440 [MERGE] trunk
bzr revid: al@openerp.com-20111001012210-uqqso9y80a21hgeo
2011-10-01 03:22:10 +02:00
Antony Lesuisse 3db71a166b [IMP] ir_sequence code remove required, its only needed for company global sequences
bzr revid: al@openerp.com-20111001005618-77h9uib26c92lu1w
2011-10-01 02:56:18 +02: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 103054293f [IMP] ir_sequence more refactoring
bzr revid: al@openerp.com-20110930232439-zlp2vmhuoet7s4sm
2011-10-01 01:24:39 +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 ff1ca3c4fb [MERGE] ir_sequence standard and no_gap implementation by Thu (vmt)
standard uses postgresql sequences, no locks, gaps are allowed.
no_gap uses an SELECT FOR UPDATE NO WAIT, no gaps are allowed but an exception could be raised if the lock is unavailable.
we also deprecated the infamous get()/get_id() api in favor of next_by_code()/next_by_id()
the specs of this change were inspired by openlabs sequence-postgres module

bzr revid: al@openerp.com-20110930190053-ovd4qlwt7hll02ch
2011-09-30 21:00:53 +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
Antony Lesuisse 997d9f4178 [IMP] minor simplification and style change (avoid inline if, less snobby, more readable)
bzr revid: al@openerp.com-20110930183806-6r78rt62cebc82iv
2011-09-30 20:38:06 +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 83fdc271e6 [FIX] ir_sequence: temporary fix: no (code,company) unique constraint.
bzr revid: vmt@openerp.com-20110930152345-cwmbotwvxaafb32f
2011-09-30 17:23:45 +02:00
Vo Minh Thu 4d1c62316c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110930151630-kd84ev0vvs4iu6n8
2011-09-30 17:16:30 +02:00
Vo Minh Thu 106e8d48da [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110930151533-7mhnk5bbtwx0rjjq
2011-09-30 17:15:33 +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 6d70751dd7 [FIX] deadlock between crons scheduling and new registry initialization creation
bzr revid: xmo@openerp.com-20110930150026-m0h99fqk6qgne8i1
2011-09-30 17:00:26 +02:00
Vo Minh Thu b88209b499 [IMP] xmlrpc: version() moved to common, still available on /openerp/xmlrpc.
bzr revid: vmt@openerp.com-20110930135942-ytlxz7vlwl84myg0
2011-09-30 15:59:42 +02:00
Vo Minh Thu 048d2038b6 [IMP] xmlrpc: support proxy(/openerp/xmlrpc).version().
bzr revid: vmt@openerp.com-20110930133821-rujj8rxajez3p7xz
2011-09-30 15:38:21 +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