Commit Graph
124 Commits
Author SHA1 Message Date
Cédric Krier 2e2227d795 Improve search on translatable fields for issue1442 2010-03-17 11:50:52 +01:00
Cédric Krier 20741b613d Improve unittests to run trytond from tests
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-03-04 14:02:27 +01:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier cae0a76a3d Remove egenix-mx-base and replace it by python-dateutil 2009-12-17 11:39:54 +01:00
Cédric Krier 53489ba4e4 Add noupdate boolean on ir.model.data
Don't update translation for records that have noupdate for issue1273
2009-11-05 14:09:04 +01:00
Cédric Krier b427d21224 Add new tool safe_eval 2009-09-28 11:21:11 +02:00
Cédric Krier 3cf4f4a7e3 Add limit_clause function on cursor 2009-09-07 15:18:17 +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 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 b46c5fd424 Guidelines 2009-08-28 15:01:15 +02:00
Bertrand Chenal 30f2f5885a Removed unused code 2009-07-07 22:29:11 +02:00
Cédric Krier bd02e85cee Don't use hardcoded true/false in SQL queries to be more database independant 2009-07-07 19:22:56 +02:00
Cédric Krier a359c7c0a2 Fix the use of rowcount because it can return -1 or None according to PEP249 2009-07-07 19:14:51 +02:00
Cédric Krier e6d8f7343b Use IN_MAX in fetch_new_module 2009-07-06 12:47:17 +02:00
Cédric Krier b88be55b18 Improve xml loading for override of records that don't exist 2009-04-12 18:31:41 +02:00
Cédric Krier 2c3ab4db87 Remove str on exception and use traceback.format_exception for issue909 2009-03-29 17:38:54 +02:00
Cédric Krier e718ac4f47 Set default values on RecordTagHandler 2009-03-14 19:09:12 +01:00
Cédric Krier eed55d0589 Fill and update browserecord cache when creating or updating record to allow
to use it on record with the same id and update="1"
2009-03-05 11:43:59 +01:00
Bertrand Chenal 8c9bb885fc Removed workflow_trigger_write on wrong model. Fix for issue807. 2009-02-23 21:31:14 +01:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Cédric Krier e28edc4d99 Add model.fields
Use better naming of field attributes
2009-02-03 18:58:25 +01:00
Cédric Krier 4e2dc61df9 Remove unused import 2009-02-02 09:23:05 +01:00
Cédric Krier b89264ab8b Use default value from base model before of inherit model for xml import 2009-01-25 01:36:25 +01:00
Bertrand Chenal e803fa7461 Xml import: Use a set instead of a list to store all the ids. 2009-01-25 00:47:59 +01:00
Bertrand Chenal 406692ab69 xml import: Fetch the correct default value when a field belongs to
the parent model of the record.
2009-01-25 00:47:00 +01:00
Bertrand Chenal af298a607d Removed wrong comment 2008-12-22 16:09:52 +01:00
Bertrand Chenal ba57edc36a Add handling of active attribute on manuitem tag 2008-12-22 16:09:27 +01:00
Cédric Krier b460852a2d Improve xml import by using a BrowseRecordList for existing records 2008-12-16 13:57:19 +01:00
Cédric Krier e9d29e509f Fix creation of translation in xml import 2008-12-16 13:50:02 +01:00
Cédric Krier 72a73cb5e0 Add missing module in context when updating xml record for issue657 2008-12-11 01:02:20 +01:00
Cédric Krier 61727f1ab5 Add values to model data records for inherited records 2008-12-03 22:13:54 +01:00
Cédric Krier a35efd4a8c Fix res_id for translation from inherited field for issue519 2008-11-10 19:37:27 +01:00
Cédric Krier db696a5f6f Add translation of field that are missing even if they doesn't change 2008-11-07 17:17:35 +01:00
Cédric Krier a5c0e982a6 Handle noupdate attribute on data tag 2008-11-04 13:47:04 +01:00
Cédric Krier 0325fa6f91 Fix convert for False reference 2008-10-30 15:55:16 +01:00
Cédric Krier 921c10e56e Print exception on delete error 2008-10-22 20:04: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 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 41178c7730 Remove unusefull import of logging 2008-08-23 15:22:14 +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