Commit Graph
43 Commits
Author SHA1 Message Date
Bertrand Chenal 301bd86a21 Added search method on property field 2009-03-25 18:34:35 +01:00
Cédric Krier 7910cc6fff Fix domain on many2one with '.' on fields with search function 2009-03-25 18:24:37 +01:00
Cédric Krier 129f8f8308 Add read_error and write_error message when trying to read/write on records
that don't exist anymore for issue897
2009-03-25 12:51:51 +01:00
Cédric Krier c1a7b5b176 Remove AccessError and use raise_user_error to have translation 2009-03-25 12:18:34 +01:00
Cédric Krier 19f903ca88 Add update history table at the end of modules loading for issue888 2009-03-24 19:14:46 +01:00
Cédric Krier 2cb7f564ca Don't call search with all arguments as we don't know the operator 2009-03-23 18:34:15 +01:00
Cédric Krier 89baf71cf7 Remove unuseful restart of ir.rule.domain_get 2009-03-20 01:41:35 +01:00
Cédric Krier e8b88eb2df Add default value False for boolean 2009-03-19 14:27:43 +01:00
Cédric Krier e7c6d444a2 Add with_rec_name option to default_get to improve creation of records 2009-03-19 11:02:07 +01:00
Cédric Krier 806645e038 Add missing super call in create of ModelSQL 2009-03-19 00:10:40 +01:00
Cédric Krier 3f147dc197 Fix creation of missing columns in history table 2009-03-18 18:09:11 +01:00
Cédric Krier 3a653fafb3 Fix child_of on Many2Many for new relation_name 2009-03-18 16:47:34 +01:00
Cédric Krier 3cc8b4727d Fix creation of table to use the right sequence name 2009-03-17 22:38:41 +01:00
Cédric Krier 044ecd61f8 Fix the history table creation
- create missing field added by others modules for issue857
- don't update history record with default value
2009-03-12 15:52:44 +01:00
Cédric Krier faca58999b Fix default value for _context in BrowseRecord 2009-03-05 19:43:10 +01:00
Cédric Krier 8a4e9a5caa Replace "_history_table" by a boolean "_history" and construct the history
table name by appending "__history" to the table name.
2009-03-05 18:45:34 +01:00
Cédric Krier 40f8c7553d Modify Many2Many to use a model to store relations instead of a named table. 2009-03-05 14:50:44 +01:00
Cédric Krier 5a507e23e7 Add quotes arround table name even in column name 2009-03-05 14:45:50 +01:00
Cédric Krier f2a4986d29 Remove symbol_c as we will use only backend with Python Database API Specification v2.0
Rename symbol_f into sql_format
2009-03-02 14:49:09 +01:00
Cédric Krier 65d0a9494b Update model documentation.
Use autodoc in sphinx
Add missing and fix docstring
2009-03-01 13:37:31 +01:00
Cédric Krier c9992e11d2 Remove OSV and WizardOSV and move Cacheable into model 2009-02-28 16:56:54 +01:00
Cédric Krier c5e6230ea2 Don't translate rec_name field 2009-02-26 00:44:41 +01:00
Cédric Krier 7297d9687d Improve default when bad value type are stored in ir.value for issue816 2009-02-25 17:35:02 +01:00
Cédric Krier bd9df98fe7 Store a copy of selection if possible for issue810 2009-02-25 12:41:20 +01:00
Cédric Krier a4b9258b71 Rename _rpc_allowed into _rpc and add commit behavior 2009-02-25 12:25:01 +01:00
Cédric Krier 0b6c5f4114 Add datetime_field in fields_get
Add datetime_field in depends of Many2One
2009-02-23 13:27:21 +01:00
Cédric Krier 3706e76e99 Add _history_table on ModelSQL to historize change on records
Use _datetime in context to read record value at specific datetime
Add datetime_field on Many2One to use a specific _datetime when reading the
related record
2009-02-23 11:27:36 +01:00
Cédric Krier 9bd91ec4e6 Fix add_null in SQL query for issue795 2009-02-18 19:46:47 +01:00
Cédric Krier c16d5baca4 Clean up values from default_get for related fields 2009-02-17 12:08:58 +01:00
Cédric Krier 66f0ada474 Allow to use related fields (many2one and reference) in read
Use rec_name function field instead of name_get and name_search
Remove get function on many2one field
Don't put record name in reference field
Handle rec_name in default_get so default value for many2one are now only id
2009-02-17 11:40:31 +01:00
Cédric Krier e190db88ae Add test on _columns before use it in query 2009-02-12 19:08:56 +01:00
Cédric Krier 0a8c560a06 Handle write_access on ir.model 2009-02-12 19:08:15 +01:00
Cédric Krier 6f1697771e Fix _update_tree to take care of IN_MAX for issue771 2009-02-12 11:55:19 +01:00
Cédric Krier 316b0f76db Rename ModelDB int ModelSQL 2009-02-12 11:33:39 +01:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Cédric Krier e66d99b376 Move _{update,rebuild}_tree from modelstorage to modeldb 2009-02-06 21:03:09 +01:00
Cédric Krier 101c60c31a copy on ModelStorage copies one2many directly on the right record 2009-02-04 17:27:04 +01:00
Cédric Krier a8c552e074 Fix translation in copy of ModelStorage 2009-02-04 17:08:14 +01:00
Cédric Krier 0448226997 Move TableHandler into backend and create a TableHandlerInterface 2009-02-04 13:30:00 +01:00
Cédric Krier e28edc4d99 Add model.fields
Use better naming of field attributes
2009-02-03 18:58:25 +01:00
Cédric Krier 1196eaf293 Add modelstorage and modeldb 2009-02-02 13:08:25 +01:00
Cédric Krier b137a42676 Add modelview 2009-01-29 20:34:26 +01:00
Cédric Krier 5218c3545f Add model 2009-01-29 19:22:03 +01:00