Commit Graph
109 Commits
Author SHA1 Message Date
Cédric Krier 921c10e56e Print exception on delete error 2008-10-22 20:04:46 +02:00
Brice V. 59dab0de13 Fix string type checking. An error occurs when cursor type is unicode and not str;
this happens when data retrieved from rpc gateways is unicode and not str.
2008-10-22 09:29:13 +02:00
Cédric Krier 21b01936b7 Use Lock instead of Semaphore
Use RLock for pooler
2008-10-14 00:12:46 +02:00
Cédric Krier 5e49d2c9f3 Improve sempahore on pooler for issue401 2008-09-30 11:55:07 +02:00
Cédric Krier 1304db8848 Remove model attribute on field tag 2008-09-23 20:19:11 +02:00
Cédric Krier eec87b1358 Handle inherited db_id in ir.model.data for issue392 2008-09-23 16:28:06 +02:00
Cédric Krier 2b1aff1eeb Improve docstring of mod10r 2008-09-20 20:32:54 +02:00
Cédric Krier 57236d5fe2 Improve translation field in import xml for issue372 2008-09-17 12:54:17 +02:00
Cédric Krier 38fe7d7a32 Add missing id clause when updating translation 2008-09-17 11:55:30 +02:00
Cédric Krier 7e9b5554e7 Handle translatable field in xml import to create the en_US translation record
for issue367
2008-09-16 19:03:16 +02:00
Bertrand Chenal cb4971ac6e Logging refectoring:
* simplified mechanism

* reverted color on error, warning and critical messages in
  console. (inspired by openerp rev. 1085)
2008-09-12 19:57:33 +02:00
Cédric Krier c880655603 Fix post_import to delete only record from the module 2008-09-05 11:43:17 +02:00
Cédric Krier f51249724a Translate sql error message 2008-08-28 19:07:25 +02:00
Cédric Krier 6e3b428c1b Standardize notify channel 2008-08-23 15:32:26 +02:00
Cédric Krier 41178c7730 Remove unusefull import of logging 2008-08-23 15:22:14 +02:00
Cédric Krier 4492cd5c90 Remove unused functions 2008-08-22 11:32:20 +02:00
Cédric Krier a7657cf223 Replace table cache_clean with ir_cache object
Add configuration option for multi-server
2008-08-10 18:51:12 +02:00
Cédric Krier 7f32771048 Change unlink to delete for issue201 2008-07-25 12:49:00 +02:00
Cédric Krier b5583498d9 Add fix for migration to unicode 2008-07-24 21:06:05 +02:00
Cédric Krier b1a9433904 Remove encode stuff as we use unicode everywhere 2008-07-24 12:54:12 +02:00
Bertrand Chenal 9fe6588560 Use info level instead of warning for integrity message 2008-07-18 12:18:56 +02:00
Cédric Krier bf7a2eb6a1 Add fix for unicode migration 2008-07-16 18:08:26 +02:00
Cédric Krier 0232c66506 Fix COPYRIGHT 2008-06-23 20:18:54 +02:00
Cédric Krier 3f10e57251 Remove unused one2one field 2008-06-23 14:21:07 +02:00
Cédric Krier 094f336a59 Add active_test in context when searching records 2008-06-23 11:53:19 +02:00
Cédric Krier 26b3e286c8 Remove import minidom 2008-06-16 18:37:33 +02:00
hartmut@lagan ab48eb62b4 Compare with None always uses 'is'. 2008-06-11 11:06:24 +02:00
Cédric Krier 593c2e1653 Fix values of ir_model_data for record updated from an other module, we must
keep the initial values.
Fix some guideline indent.
2008-06-10 17:22:39 +02:00
Cédric Krier 3da3adb32b Better coding indent for debugging 2008-06-09 16:51:51 +02:00
Cédric Krier 71b99b324b Add tryton-list icon 2008-06-09 11:35:49 +02:00
Cédric Krier 87ea452c60 Change internal format of reference field into:
"model, (id, "name")" for issue74
2008-06-07 21:17:24 +02:00
Cédric Krier 780665c700 Add some new icons 2008-06-07 19:00:04 +02:00
Cédric Krier a25ce9411b Use cStringIO everywhere when available for issue81 thanks htgoebel 2008-06-07 13:08:06 +02:00
Cédric Krier 8b6e3b8d77 Fix coding thanks to htgoebel 2008-06-07 12:58:28 +02:00
Cédric Krier 416ae8f317 Use new Tango icons 2008-06-06 22:13:07 +02:00
Cédric Krier d1e3bdd60e Simple fix for graph, calender icon 2008-06-03 10:29:47 +02:00
Bertrand Chenal fd87627ef0 Fix call to trg_write 2008-05-20 22:29:51 +02:00
Cédric Krier 8b382d9272 Add action url 2008-05-08 13:16:46 +02:00
Cédric Krier 9172e4fabf Fix typo in workflow migration 2008-04-29 18:13:37 +02:00
Cédric Krier 2c99576b71 Remove also transition that are not delete with an activity 2008-04-29 12:41:43 +02:00
Cédric Krier d88748e9f4 Add attribute update on record tag
It allows to update an record defined in the same module.
It is usefull for circle dependencies.
2008-04-29 10:54:55 +02:00
Cédric Krier dbb84dc988 Fix key in cache.
Must include self2 because there is only one instance of cache for all ORM
object
2008-04-28 11:42:58 +02:00
Cédric Krier 90b27f042e Add semaphore lock on cache access/modification 2008-04-27 15:53:42 +02:00
Cédric Krier e905b9c084 Add max len and timeout on cache functionnality
Cache is not usefull if there is no limit
2008-04-26 14:51:04 +02:00
Cédric Krier 0f4d0b6294 Make Cacheable object works also for many instances 2008-04-24 17:33:03 +02:00
Cédric Krier b14321a971 Improve cache to work with many instance 2008-04-24 17:20:41 +02:00
Cédric Krier 606ea39162 Remove space 2008-04-22 18:10:56 +02:00
Cédric Krier 8fc4a98304 Use dict for _order on ORM object.
_order is now an instanciate variable.
It is a dict like this:
[('name', 'ASC'), ('id', 'ASC')]
2008-04-22 17:47:24 +02:00
Cédric Krier 29543a1a51 Add commit/rollback after unlink in post_import to keep a working cursor 2008-04-17 17:20:43 +02:00
Cédric Krier e5bcbf3776 Remove raise on unlink xml id 2008-04-17 17:06:49 +02:00