Commit Graph
58607 Commits
Author SHA1 Message Date
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 3652c7b933 Remove _columns dict 2008-02-26 12:41:25 +01:00
Cédric Krier c8e441d5b4 Remove _columns dict 2008-02-26 12:41:13 +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 ec1e9d8562 IPv6 compliant 2008-02-25 21:19:45 +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 810d1e1165 Fix reload context when editing preferences 2008-02-22 15:23:33 +01:00
Cédric Krier baecd2766b Fix preference for domain with main_company and copy _columns for inheritage 2008-02-22 14:01:38 +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 cf4b1b857d Add context to the evaluation of states and add readonly state for buttons 2008-02-22 12:58:10 +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 7a897f7d44 Use user preference to read info on user as read is restricted to admin 2008-02-21 19:19:30 +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 cd7fbe373e Improve pysocket to allow datatime object 2008-02-20 18:03:00 +01:00
Cédric Krier 6798a42de7 Fix log window for variable name conflict 2008-02-20 18:02:34 +01:00
Cédric Krier 2245a597a2 Fix typo and check_company 2008-02-20 18:01:34 +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 86a3f29435 Fix setup.py for sdist 2008-02-20 13:08:04 +01:00
Cédric Krier 3030669230 Fix setup.py for sdist 2008-02-20 13:07:40 +01:00
Cédric Krier 1afc948085 Fix sdist to include package_data 2008-02-20 13:06:49 +01:00
Cédric Krier 3679894c35 Add setup.py 2008-02-19 18:38:21 +01:00
Cédric Krier c5dad6fd12 Add setup.py 2008-02-19 18:29:20 +01:00
Cédric Krier e1789a3c6a Add setup.py 2008-02-19 17:55:24 +01:00