Commit Graph
2023 Commits
Author SHA1 Message Date
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
Cédric Krier 8f46463b4a Reset BrowseRecord also after update to keep cache memory low.
There is little chance to see again this record in the XML files of the module.
2009-09-04 09:50:51 +02:00
Cédric Krier 4cbe2de72c Order BrowseRecordList by id.
We have more chance to see records in this order in the XML files.
2009-09-04 09:48:13 +02:00
Cédric Krier f3406a13e4 Clean cursor cache when reseting BrowseRecord 2009-09-04 09:46:58 +02:00
Cédric Krier 6529bf67c1 Use global cache ids only if it is less than IN_MAX otherwise it will generate
more SELECT queries in the read function.
2009-09-04 09:45:56 +02:00
Cédric Krier 2b4cd8e838 Fix test on context and local_cache.
Use a new dictionary only if it is None and if it is empty.
2009-09-04 09:44:10 +02:00
Cédric Krier ff1abe8f4d Add missing CHANGELOG 2009-09-03 19:09:32 +02:00
Cédric Krier c9f00249a6 merge 2009-09-03 19:08:26 +02:00
Cédric Krier 5a8724f36c Use the module dependency order to apply views that inherits 2009-09-03 19:06:03 +02:00
Bertrand Chenal 5d672dcfb6 Fix _rpc usage 2009-09-03 12:22:55 +02:00
Bertrand Chenal fec8323844 Allow rpc on today() of ir.date 2009-09-03 12:07:27 +02:00
Cédric Krier 60f53b858c Add split_part function to SQLite 2009-09-03 01:13:50 +02:00
Cédric Krier 1b9cd7266d Add missing Genshi dependency 2009-09-02 22:51:38 +02:00
Cédric Krier a95e9be981 Open sqlite file in binary mode for dump 2009-09-02 21:15:37 +02:00
Cédric Krier 97a13b01b0 Prevent exception when testing SQLite database (corrupted file) 2009-09-02 21:01:32 +02:00
Cédric Krier 0d68d6445c Allow to update database at the end of restore 2009-09-02 17:41:51 +02:00
Cédric Krier f433916369 Add index on module of ir.action.report as it is used when loading modules 2009-09-02 17:39:00 +02:00