Commit Graph
2985 Commits
Author SHA1 Message Date
Albert Cervera i Areny 8060c42f2b Fix upgrade after the removal of fields in ir.rule.
issue2964
review643002
2013-01-20 23:08:53 +01:00
Cédric Krier d5ba4e67c0 Call only once _save_values in ModelStorage.save 2013-01-20 14:16:32 +01:00
Cédric Krier 515051ac21 Remove unique constraint on model and field access
Removing this constraint makes Tryton more modular.
As sometimes access must be added by module for technical reason, we should not
worry about duplication of such access entry.

review614003
2013-01-13 22:43:59 +01:00
Albert Cervera i Areny 30b1403cdc Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier e0eecb9dae Missing migration to Rule.domain 2012-12-28 11:04:09 +01:00
Cédric Krier 9abd6d2c23 Remove no more needed migration of operator in Rule 2012-12-28 11:03:29 +01:00
Cédric Krier 259150b712 Fix name in Translation.set_ids for ir.model{,.field} 2012-12-27 22:36:33 +01:00
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
Cédric Krier 3563cefecb Fix on_change method signature for AR
issue2929
2012-12-15 22:28:08 +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