Commit Graph
276 Commits
Author SHA1 Message Date
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
Bertrand Chenal 280dbc9365 Little bugfix: Unlink on user now handle list of ids 2008-02-28 12:39:00 +01:00
Bertrand Chenal 1e38fe6eb2 Copy vals dict before modifying it 2008-02-28 12:37:33 +01:00
Cédric Krier c882bdf518 Use string instead of function reference for action in wizard
It allow and easy way to override the function
2008-02-27 11:49:58 +01:00
Cédric Krier 80458f1897 Close sursor before installing modules
Fix install partner module by command line
2008-02-27 11:34:07 +01:00
Cédric Krier 5f98f0a002 Remove partial commit 2008-02-27 11:24:43 +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 8ffbcf02ce Remove call to download as there no more repositories 2008-02-27 10:51:41 +01:00
Cédric Krier ceae2a129d Split float fields into float and numeric
- Float is store as float with variable precision
- Numeric is store as numeric with fix precision
- The digits argument is just use for the display
2008-02-26 19:11:13 +01:00
Cédric Krier addc090e18 Remove module repository 2008-02-26 18:40:24 +01:00
Cédric Krier d2cc8c31c2 Add on delete cascade if view is deleted 2008-02-26 18:39:46 +01:00
Cédric Krier 1724794f7b Remove demo on module
It will be handle by specific modules
2008-02-26 18:21:28 +01:00
Cédric Krier bb44f45b84 Add on_change attribute to fields and rename __view_look_dom_arch into _view_look_dom_arch 2008-02-26 17:52:32 +01:00
Cédric Krier 8b6460eb45 Fix close DB for new psycopg2 pooler 2008-02-26 16:37:10 +01:00
Cédric Krier d80152ce78 Remove _defaults dict and replace by default_ function to allow easy override 2008-02-26 16:23:05 +01:00
Cédric Krier c6948c3f35 Remove _columns dict and put it directly in the object to reflect better the
browserecord
2008-02-26 12:40:40 +01:00
Cédric Krier 164769c050 IPv6 compliant 2008-02-25 21:19:32 +01:00
Cédric Krier 4b098248a3 Remove some stuff from try/except 2008-02-22 16:02:39 +01:00
Cédric Krier 2cc0e87ec2 Duplicate _columns when inherit it as there is only one instance of dict for
the same object in multi-db
2008-02-22 14:00:29 +01:00
Cédric Krier b8bb522a8d Set fs2values also when create object because it can be used by an
inherited record
2008-02-22 13:59:14 +01:00
Cédric Krier 7211debab2 Encode menuitem id to utf8 2008-02-22 13:58:01 +01:00
Cédric Krier 10e55648d9 Set isolation level to autocommit for create/drop database 2008-02-22 13:57:24 +01:00
Cédric Krier 1a4526e10f Add readonly on button of the module form
Button disabled if not in the group admin
2008-02-22 12:57:07 +01:00
Cédric Krier 9e30d0f747 Rename groups_id into groups and add groups to the context 2008-02-22 12:56:16 +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 8c88055645 Fix default value if context is None 2008-02-22 12:52:53 +01:00
Cédric Krier 3a0b0e39cd Give in context the module when re-create missing record 2008-02-22 12:52:20 +01:00
Cédric Krier 12332f82c5 Fix missing import psycopg to psycopg2 2008-02-21 23:53:42 +01:00
Cédric Krier 5ad40d33b6 Fix update inherited record
Don't delete fs2value, just put it to None
2008-02-21 23:53:12 +01:00
Cédric Krier c7b2ca6edd Add groups to action and filtering rule 2008-02-21 23:13:51 +01:00
Cédric Krier 86fe091dec Add groups to menuitem tags 2008-02-21 23:13:14 +01:00
Cédric Krier 61f89954c0 Fix read for duplicate inherits fields 2008-02-21 23:12:47 +01:00
Cédric Krier 5ee541858a Use the rules for the group restriction on menu 2008-02-21 19:18:47 +01:00
Cédric Krier 43f347876b Don't store the eval value of the operand but just the path
It is more flexible and updatable if there is a bug
2008-02-21 19:18:06 +01:00
Cédric Krier 94a0a2a168 Restrict res.user to admin 2008-02-21 19:16:47 +01:00
Cédric Krier abd591b246 Fix update when one record was deleted manually 2008-02-21 19:15:24 +01:00
Cédric Krier 7d775ff53e Add model access 2008-02-21 17:00:31 +01:00
Cédric Krier 72a5b9f8af Rename triggers into trigger 2008-02-21 17:00:05 +01:00
Cédric Krier 34411a07d0 Improve ir.model and ir.model.access
- Fix check for new root id (=0)
- Better view
- Remove name on access -> description
- Use the name of model instead of internal name
2008-02-21 16:38:43 +01:00
Cédric Krier cf2f5007c0 Remove old icons 2008-02-21 16:37:16 +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 3b9afa5445 Fix change state of module when installed from command line 2008-02-21 13:53:17 +01:00
Cédric Krier c2b6cc8336 use create_graph from module.py to install/upgrade module from client 2008-02-21 13:45:32 +01:00
Cédric Krier 6518b154c8 Add missing module when unmet dependencies and improve module installation 2008-02-21 12:38:23 +01:00
Cédric Krier 7cf29045d9 Use psycopg2 2008-02-20 18:00:55 +01:00
Cédric Krier 4477b2a1ea Improve browse record when object of an relation field doesn't exist
This happend on the DB creation for res.user on object from ir
2008-02-20 18:00:12 +01:00
Cédric Krier 9b10252833 Add log_access on user 2008-02-20 17:46:56 +01:00
Cédric Krier b04cfe10a3 Add columns when log_access is activated 2008-02-20 17:46:09 +01:00