Commit Graph
77 Commits
Author SHA1 Message Date
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 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 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
Cédric Krier 4c71d4bbd4 Improve tag error message 2008-04-08 10:02:50 +02:00
Cédric Krier c0c9fdb9e1 Use string for xxx2Many operator 2008-03-25 11:29:26 +01:00
Cédric Krier 9296bc9ef6 Remove space 2008-03-18 11:42:06 +01:00
Cédric Krier 895f5ef6ce Improve eval old_value 2008-03-12 17:19:32 +01:00
Cédric Krier 7fb3270d80 Fix groups on menuitem 2008-03-12 16:33:49 +01:00
Bertrand Chenal 0c7ebb6abb Automated merge with ssh://tycho.b2ck.org///home/hg/trytond 2008-02-29 18:53:53 +01:00
Bertrand Chenal 73b42c88c1 Improved field comparison at update. 2008-02-29 18:53:40 +01:00
Cédric Krier 018f203158 Add unique constraint on xml id 2008-02-29 15:52:06 +01:00
Bertrand Chenal 0dd3501c62 Use xml_id to store the records to delete instead of the former tuple. This provide more robust updates. 2008-02-28 16:57:38 +01:00
Bertrand Chenal f4a69ffb25 Order the to_delete list at read time instead of sorting it later 2008-02-28 14:14:24 +01:00
Bertrand Chenal 320e820ba6 Merge with upstream repo 2008-02-28 13:42:56 +01:00
Bertrand Chenal 878a762016 Move all import stuff out of model.py and put it in convert.py.
Other modifications:
 * less memory hungry implementation.
 * now delete record in the reverse order of creation.
 * Workflow transtion are deleted only if the corresponding activity
    is deleted.
2008-02-28 13:36:28 +01:00
Cédric Krier a013c3bdca Change all query with %d into %s for psycopg2 2008-02-27 11:10:51 +01:00
Cédric Krier 7211debab2 Encode menuitem id to utf8 2008-02-22 13:58:01 +01:00
Cédric Krier c8aecb9fdd Use CDATA for all field with type 'xml' and replace %()d with the xml_id 2008-02-22 12:54:48 +01:00
Cédric Krier 86fe091dec Add groups to menuitem tags 2008-02-21 23:13:14 +01:00
Cédric Krier 8ed0690f4b Fix attribute search in xml
- model is no more required as it is the relation object by default
2008-02-21 16:10:07 +01:00
Cédric Krier 48396c171b Rename child_id, parent_id, groups_id into childs, parent, groups 2008-02-17 15:56:53 +01:00
Cédric Krier 9c06ee017f Rename view_id into view 2008-02-17 14:16:18 +01:00
Cédric Krier e2336f015a Rename act_window_id into act_window 2008-02-17 13:54:01 +01:00
Bertrand Chenal 39b81eda88 Automated merge with ssh://tycho.b2ck.org///home/hg/trytond 2008-02-11 18:20:16 +01:00
Cédric Krier bd928806f6 Improve translation
- Translation file by modules
- Add fuzzy behavior
- Add english translation dynamically
- Add wizard to export / update translation
- Add french translation of ir module
- Move res.lang into ir.lang
2008-02-11 14:01:47 +01:00
Bertrand Chenal d324ff6e86 Added some diagnostic mechanism to give help when there is an exception importing xml. 2008-02-10 21:40:13 +01:00