Commit Graph
255 Commits
Author SHA1 Message Date
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
Cédric Krier 1afc948085 Fix sdist to include package_data 2008-02-20 13:06:49 +01:00
Cédric Krier a80a904a02 Remove requires as it doesn't work yet on python 2008-02-19 17:43:41 +01:00
Cédric Krier c657d643d3 Add requires 2008-02-19 17:19:29 +01:00
Cédric Krier e540f74cd7 Add setup.py 2008-02-19 16:56:47 +01:00
Cédric Krier 7cbab784c7 Fix typo 2008-02-19 16:56:06 +01:00
Cédric Krier 9471430dfd Don't fail if modules directory doesn't exist 2008-02-19 16:55:50 +01:00
Cédric Krier fd985a6ecd Rename parent_id into parent 2008-02-19 14:56:28 +01:00
Cédric Krier 4fa086277c Fix where clause "field in [False]" 2008-02-19 13:31:01 +01:00
Cédric Krier b77a9b6278 Remove company_id stuff and fix user preference for relation fields 2008-02-19 13:02:05 +01:00
Cédric Krier 5162fc38bf Remove try/except and use query instead 2008-02-19 13:01:37 +01:00
Cédric Krier 75c310997b Fix dependency 2008-02-19 13:00:41 +01:00
Cédric Krier e80cc145ba Better override 2008-02-19 13:00:20 +01:00
Cédric Krier 74fbb74db0 Improve module installation 2008-02-19 00:41:09 +01:00
Cédric Krier 600316c5e2 Remove try/execpt and ir.actions restriction 2008-02-19 00:40:53 +01:00
Cédric Krier 06c55abadd Rename all fields '_id' from workflow 2008-02-17 16:57:34 +01:00
Cédric Krier 4f908c2776 Rename menu_id, action_id into menu, action 2008-02-17 16:18:27 +01:00
Cédric Krier e8742381c8 Rename req_id into request 2008-02-17 16:09:52 +01:00
Cédric Krier 2d752b57ca Rename field_parent into field_childs 2008-02-17 16:07:12 +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 4230b05f7c Rename field_id into field 2008-02-17 15:37:59 +01:00
Cédric Krier 614cb14dd5 Rename model_id into model 2008-02-17 15:35:13 +01:00