Commit Graph
2015 Commits
Author SHA1 Message Date
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
Cédric Krier 2372e64abd Fix call to exec_pg_command_pipe to wait the end of the command 2009-09-02 17:38:06 +02:00
Cédric Krier 12360f178a Add ir.model.access check get and set of ir.property 2009-09-01 18:26:12 +02:00
Cédric Krier 5fd990c34a merge 2009-09-01 14:44:10 +02:00
Cédric Krier 220b6da07f Add ModelSingleton 2009-09-01 14:43:49 +02:00
Bertrand Chenal 270eb95ba3 Pass True as arg to sql query for db independance 2009-09-01 10:51:25 +02:00
Cédric Krier da9464b39a Clean all create/write fields in create and write of ModelSQL 2009-08-28 16:40:25 +02:00
Cédric Krier 63589c8ebf Fix webdav get_dburi when uri is empty 2009-08-28 16:31:44 +02:00
Cédric Krier b46c5fd424 Guidelines 2009-08-28 15:01:15 +02:00