Commit Graph
2039 Commits
Author SHA1 Message Date
Cédric Krier 92fab4e81b Add datetime_field on xxx2Many to use a specific _datetime when reading the
related record
2009-10-05 15:41:10 +02:00
Cédric Krier 1b38516270 Add test on search of ModelSingleton 2009-10-03 00:24:46 +02:00
Cédric Krier 6b0d302a77 Handle count in search of ModelSingleton 2009-10-03 00:24:19 +02:00
Cédric Krier 25ebb3606a Don't read history many2one if empty 2009-10-02 13:12:26 +02:00
Cédric Krier 68392d192d Add quote arround table name 2009-10-02 13:11:21 +02:00
Cédric Krier 7eb928752e Use set to compute childs and parents from module graph for issue1205 2009-10-02 10:54:02 +02:00
Cédric Krier 6a4db22800 Remove use of old args 2009-09-30 19:01:55 +02:00
Cédric Krier ac9acfbe0d Removed hardcoded False in sql query for issue1200 2009-09-30 15:12:34 +02:00
Cédric Krier cadc9c40f0 Fix _sql_constraints validation when there is duplicated id in list for
issue1198
2009-09-30 14:42:00 +02:00
Cédric Krier fbde24da78 Fix search on ModelSingleton to always return a list for issue1196 2009-09-30 13:00:11 +02:00
Cédric Krier 7e50431794 Fix _getxxx2many_targets to return the right model name for many2many relation
for issue1195
2009-09-28 15:32:14 +02:00
Cédric Krier d3b3cd41f2 Add test is column_name is in _columns when testing field type for issue1194
add_raw_column is used in _update_history_table and column_name can any more
exist or not yet instanciate in the Model
2009-09-28 11:58:52 +02:00
Cédric Krier b427d21224 Add new tool safe_eval 2009-09-28 11:21:11 +02:00
Cédric Krier f3d71ce308 Fix indent in states of buttons 2009-09-25 18:36:47 +02:00
Cédric Krier 69b14b9b70 Allow to have accent in password 2009-09-23 18:42:27 +02:00
Bertrand Chenal dab3db6112 Improved email support 2009-09-23 14:47:14 +02:00
Cédric Krier f581e8997e Parse option only if TrytonServer is instanciated for issue1182 2009-09-23 13:59:14 +02:00
Cédric Krier 2559709968 merge 2009-09-22 16:46:28 +02:00
Cédric Krier ab8cc7268b Use cast into int for range to prevent warning 2009-09-22 16:45:23 +02:00
Mathias Behrle 76d0116d63 Update translation for de_DE 2009-09-21 15:00:04 +02:00
Bertrand Chenal 7834e3849a Handle sequence and history renaming when renaming table 2009-09-16 14:47:06 +02:00
Ian Wilson 4ba6cdc6bb Added examples of on_change, on_change_with and default for issue1118. 2009-09-16 00:06:36 -07:00
Ian Wilson 434d2a9b8f Added basic reports documentation. 2009-09-15 23:51:14 -07:00
Cédric Krier de860e50ce Missing context in browse call for res.user in report 2009-09-15 23:02:27 +02:00
Cédric Krier d7a7cd4eee Don't fill cache in search for delete records for issue1176 2009-09-14 18:14:21 +02:00
Cédric Krier 4fddb935d4 Call update only once per instance on trigger activation 2009-09-14 18:12:48 +02:00
Cédric Krier 536fd48e6a Don't change kwargs in Cache 2009-09-14 18:10:37 +02:00
Cédric Krier 86149074df Add missing hostname initialisation in PySocket 2009-09-14 18:08:02 +02:00
Gour 486d46a405 fix typos for documentation (Model chapter) 2009-09-13 15:37:11 +02:00
Cédric Krier 1085733fa6 Add old_password to set_preferences of res.user on password change 2009-09-11 13:58:24 +02:00
Cédric Krier fb007b7733 Add commit for login cursor.
It will allow to make some database processing during login.
2009-09-10 16:39:39 +02:00
Bertrand Chenal 36efc47a44 Allow to drop constraint, index and foreign key with custom table name 2009-09-10 14:19:10 +02:00
Bertrand Chenal fd3493ec06 Added column renaming on db backends 2009-09-10 14:09:59 +02:00
Cédric Krier bf937bcd30 Fix ModelSingleton to return a list if limit is different of 1 and there is no
record.
2009-09-09 23:42:33 +02:00
Bertrand Chenal f4843866ed Removed required option to reflect db 2009-09-08 17:01:27 +02:00
Cédric Krier ae35028b5b Better fix for quote in dictionary of some SQLite version 2009-09-08 13:16:49 +02:00
Cédric Krier 1259ee9668 Add new tool reduce_ids 2009-09-08 13:03:57 +02:00
Cédric Krier a2ccd946a4 Strip quote from cursor dict because some SQLite version return it. 2009-09-08 09:28:43 +02:00
Cédric Krier 48ccca3ba9 Backed out changeset 2d20900b6eb3 2009-09-08 09:27:43 +02:00
Cédric Krier ed04d78f43 Strip quote from cursor dict because some SQLite version return it. 2009-09-08 08:47:37 +02:00
Cédric Krier 52062c763b Fix arguments of search in unittest script 2009-09-08 00:28:05 +02:00
Cédric Krier f4568e0cde Factorise code by adding get_cache function on Cursor. 2009-09-07 15:34:04 +02:00
Cédric Krier 3cf4f4a7e3 Add limit_clause function on cursor 2009-09-07 15:18:17 +02:00
Cédric Krier a75fc0381f Removed hardcoded True in sql query for issue1157 2009-09-07 15:09:57 +02:00
Cédric Krier b00bafcbf1 Add missing module clause when searching translation for new record 2009-09-07 12:59:02 +02:00
Cédric Krier 2c7672ed36 Add ModelSingleton to doc 2009-09-07 11:30:49 +02:00
Cédric Krier eb233dbe0f Always return at least 'id' in search_read 2009-09-07 11:18:22 +02:00
Cédric Krier ffc8d2ba57 Fill the cursor cache at search and use it in search_read and in one2many get 2009-09-07 10:39:09 +02:00
Cédric Krier 1f8057bc38 Compile only once QUOTE_SEPARATION 2009-09-07 10:08:17 +02:00
Cédric Krier 425baf968c Pass local_cache to BrowseRecord instanciated in BrowseRecord for issue1151 2009-09-06 23:51:43 +02:00