Commit Graph
5181 Commits
Author SHA1 Message Date
Cédric Krier 8548615b32 Fix wrong cache name for User._get_login 2012-12-27 22:27:57 +01:00
Cédric Krier 0c652a7473 Replace (Field, Operator, Operand) by Domain in Rule
The current implementation requires to query the fields description in English
to allow to convert the operand into value. This is process is quite expensive
on the translation table.

review599002
2012-12-27 22:04:18 +01:00
Cédric Krier 0c577dd660 Improve getattr lookup in fields.Function.get
review612003
2012-12-23 22:58:13 +01:00
Cédric Krier ec554ef6b3 Fix read relate value when id is 0
review618002
2012-12-23 22:56:09 +01:00
Cédric Krier b553af8245 Don't delete cursor attribute in Cursor
The comment about this code is strange and doesn't reflect the behavior of the
connection pool.

issue2863
review612002
2012-12-23 22:50:54 +01:00
Cédric Krier 06a1e783d7 merge 2012-12-18 17:46:07 +01:00
Cédric Krier a8e860f04e merge 2012-12-18 17:44:42 +01:00
Laurent Defert d06955421c Remove deprecated reports initialization
Remove code that used to initialize reports with undefined classes.
This initialization is done from Pool.get() method instead.

issue2933
review611004
2012-12-18 15:40:33 +01:00
Cédric Krier a73a873c7f Allow to customize global search menu and fix menu search
issue2934
2012-12-17 13:38:56 +01:00
Albert Cervera i Areny ec1761ddca Use None instead of False in ModelSingleton
issue2932
review617002
2012-12-16 23:54:41 +01:00
Albert Cervera i Areny 98164b445f Check depends of One2Many.add_remove
issue2931
review615002
2012-12-16 23:38:58 +01:00
Mathias Behrle 515276a556 Update translation for de_DE 2012-12-14 01:46:42 +01:00
Cédric Krier dce4081b4b Update time_locale
issue2331
2012-12-13 23:57:22 +01:00
Cédric Krier 5fc611575c Factorize selection validation
review603002
2012-12-13 19:18:37 +01:00
Cédric Krier 1a362c3879 Remove dependency to pyOpenSSL
review598006
2012-12-13 19:04:52 +01:00
Cédric Krier d6b453a516 Fix Cache to use the local thread context 2012-12-11 22:57:04 +01:00
Cédric Krier eb820df535 Use globale cache also for Many2One and Reference fields
review590007
2012-12-10 16:15:24 +01:00
Albert Cervera i Areny 8f5f4c6162 Fix typo in module install/upgrade wizard.
issue2914
2012-12-09 10:31:10 +01:00
Cédric Krier d220d6460b Add missing call to set_timezone
review599006
2012-12-05 13:40:49 +01:00
Cédric Krier c1fd506f77 Add global search
review582002
2012-12-05 13:25:18 +01:00
Cédric Krier 290791e0df Use instance in One2Many.get to re-use cache
review585007
2012-11-28 23:12:39 +01:00
Cédric Krier cf0636e095 Add ModelFieldAccess.get_access
review598002
2012-11-28 22:42:51 +01:00
Cédric Krier db7a805991 Speedup loading pofile by using set instead of list
review587007
2012-11-28 22:39:48 +01:00
Cédric Krier 489e297cf2 Store transaction counter on local cache
As the cache is shared with many instances, the counter must also be shared.

review599004
2012-11-28 22:37:57 +01:00
Cédric Krier 1cdf1ffaef Ensure records are readable also for constraints
review595004
2012-11-28 22:34:10 +01:00
Cédric Krier 9f916c1391 Replace view shortcut by menu favorite
review584004
2012-11-27 21:35:12 +01:00
Cédric Krier 936dcca53a Store default language in database
review592004
2012-11-23 17:59:04 +01:00
Cédric Krier b704f375d3 Add icon attribute on fields
review587005
2012-11-23 17:49:33 +01:00
Cédric Krier 220c31651d Fix url tests as hostname is fixed 2012-11-23 13:44:32 +01:00
Cédric Krier 26a3127b8f Don't alter context with empty _datetime
Avoiding useless context change make the global cache more efficient.
2012-11-22 22:54:07 +01:00
Cédric Krier 0e4df2b246 Add missing context when filling cache from search 2012-11-22 22:49:41 +01:00
Cédric Krier c3c344c658 Prevent fuzzing translations when copying
review590005
2012-11-22 22:42:45 +01:00
Cédric Krier 10f28ebdec Set lazy loading on Reference field 2012-11-22 22:39:22 +01:00
Cédric Krier 40df2ea358 Fix test on translation cache when value is None 2012-11-22 22:33:17 +01:00
Cédric Krier f452c68c50 Restore size limit of the Translation cache 2012-11-22 22:32:20 +01:00
Cédric Krier 1464a38a9d Delete translations when deleting records
review594003
2012-11-22 22:22:13 +01:00
Cédric Krier caf073daaf Prevent Wizard State to start with '_'
review585006
2012-11-22 22:17:07 +01:00
Cédric Krier 032e62a8ae Compute hostname only once
review597003
2012-11-22 22:15:46 +01:00
Cédric Krier 53b075e460 Remove duplicate ShowView in __all__ 2012-11-20 22:15:32 +01:00
Cédric Krier 0b09f12c73 Add completion attribute for Many2One, Many2Many and One2Many
review581002
2012-11-16 20:22:29 +01:00
Cédric Krier 864b16a5e8 Add ViewSearch
review590002
2012-11-16 20:11:51 +01:00
Cédric Krier d20a3cd722 merge 2012-11-16 01:13:11 +01:00
Cédric Krier fa282b2271 Add domains on Action Window
review588002
2012-11-16 00:52:42 +01:00
Nicolas Évrard 6c956d1555 fix use of password not in ASCII
review582004
issue2869
2012-11-13 11:26:38 +01:00
Cédric Krier 5a28b9b8cb Add missing clear cache of keyword
review592003
2012-11-12 13:26:03 +01:00
Pierre-Louis Bonicoli 6632b8e253 set_session would impact all next transactions too
issue2885
2012-11-11 22:25:34 +01:00
Nicolas Évrard 85ef891ffd remove use of sha module 2012-11-08 16:57:58 +01:00
Cédric Krier 80f00f7ec0 Prevent double browse as search returns instance 2012-11-01 22:40:07 +01:00
Cédric Krier e34ac49604 Fix Menu.search_rec_name to use ids instead of instance 2012-11-01 13:53:04 +01:00
Cédric Krier f7b8ad485e Factorize load of module
The test for register on module should be done also on egg modules.

issue2853
review586002
2012-10-24 23:38:12 +02:00