Commit Graph
59 Commits
Author SHA1 Message Date
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
Cédric Krier b812029026 Add webdav module and service
- Improve options
- Add webdav module
- Add webdav directory object
- Add webdav service using pywebdav

Rem: only read functionality for now
2008-02-14 01:43:39 +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 246bff8580 Remove translate tools 2008-02-11 14:03:08 +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
Cédric Krier a5fe147aba Change addons into modules 2008-01-27 23:55:22 +01:00
Cédric Krier 8f1a0a2a92 Remove ir.values (bad modeling stuff)
- Add preference on res.user
- Fix language/timezone in context
2008-01-27 17:36:59 +01:00
Cédric Krier d54ab2c911 Remove more terp references (from Brice) 2008-01-17 23:30:46 +01:00
Cédric Krier 78b05d038b Fix view type for tag menuitem 2008-01-16 22:41:16 +01:00
Cédric Krier fd3c14f99d merge 2008-01-16 21:21:06 +01:00
Cédric Krier 78fd7d490a Better action implementation
- Better naming
- Remove inherit from sql and use inherit from ORM
- Remove table creation from init.sql as it is no needs
2008-01-16 21:06:31 +01:00
Bertrand Chenal e86aefb0a7 Fix: the error mesage wass using the missing field 2008-01-11 22:49:26 +01:00
Cédric Krier cb75848774 Fix uninitiate variable 2008-01-11 00:44:30 +01:00
Bertrand Chenal df9131dfc4 Added a new test to handle action with view mode form 2008-01-11 00:09:45 +01:00
ced@b2ck.com 6082567348 Fix menuitem tag 2008-01-08 23:37:11 +01:00
Bertrand Chenal 277e5e4460 Function in ir.model.data rewriten to improve performance. 2008-01-07 03:25:18 +01:00
Bertrand Chenal 2e0f0d0686 Added icon resolution for menuitems, fixed some xml to comply with the spec. 2008-01-05 02:12:11 +01:00
Bertrand Chenal 45a7fbc474 * menuitem import : if a menuitem has no name, the name of the action is used.
* updated xml files to use this feature instead of rely on the "string path" (ie name="parent/menu name")
2008-01-04 00:06:13 +01:00
Bertrand Chenal fb6b784a6c Merging 2008-01-03 22:29:32 +01:00
Bertrand Chenal 1cb7981981 WIP, Sax api : removed some trailing whitespaces 2008-01-03 00:32:54 +01:00
Bertrand Chenal d87ad7141f WIP, Sax api : added handling of menuitems tags 2008-01-03 00:32:25 +01:00
Bertrand Chenal 8c1337ab88 WIP sax api: added support for eval attributes, use logger instead of print for error message 2007-12-30 00:18:11 +01:00
ced@b2ck.com c8f3698135 Merge and fix action/menu for user admin 2007-12-29 17:54:37 +01:00
Bertrand Chenal 5fdbb62df5 WIP Sax api: added support for search and ref attributes, adding cdata to some xml's and added support for cdata in dom parser 2007-12-29 16:19:34 +01:00
ced@b2ck.com f495437db9 Fix cache to be unique by object instance 2007-12-29 14:47:25 +01:00
Bertrand Chenal b6aeba1508 merging from upper branch 2007-12-29 01:38:57 +01:00
Bertrand Chenal 03c640af9b WIP xml sax api:
* added cdata around some views to escape them
* the tag record is nearly handled, need to code the id_get with smart cache.
* need some sleep :)
2007-12-29 01:36:28 +01:00
ced@b2ck.com 9de087a238 Add cache and md5 on fields_view_get 2007-12-27 23:42:01 +01:00
Bertrand Chenal 1afeb084b7 WIP xml sax api: added some structures and little tweaking in the calling code 2007-12-27 00:04:05 +01:00
ced@b2ck.com c51bf7bf55 Add constraint on menu creation
- id xml is mandatory
- all parent menus must exist before add one
2007-12-25 18:05:11 +01:00