Cédric Krier
a65f0893c0
Enforce clause validation for invalid arguments
2008-09-26 13:58:03 +02:00
Cédric Krier
5a7d5fd178
Handle negative operator for search
2008-09-26 11:42:25 +02:00
Cédric Krier
1e7f32c55e
Improve docstring for search
2008-09-25 13:18:18 +02:00
Cédric Krier
5d84a57a35
Remove unused variable
2008-09-25 10:13:07 +02:00
Cédric Krier
39828da9ca
Set tree with only for with greater than zero for issue398
2008-09-24 10:15:20 +02:00
Bertrand Chenal
af6a14fe89
Complete docstring for new raise_exception arg
2008-09-23 14:33:24 +02:00
Bertrand Chenal
663136e55e
merge
2008-09-23 13:48:46 +02:00
Bertrand Chenal
45c10214ed
New option to raise_user_error :
...
allow to return error string instead of raising exception
2008-09-23 13:14:10 +02:00
Cédric Krier
8b8b033afd
Add ondelete_{target,origin} on Many2Many
...
Rename id{1,2} into target, origin
2008-09-19 19:36:45 +02:00
Cédric Krier
68dbcf4f0b
Fix translation of view string inside an other view for issue377
2008-09-18 13:27:16 +02:00
Cédric Krier
6e6f0c708c
Fix name_search for new clause syntax
2008-09-18 10:28:53 +02:00
Cédric Krier
2f6cec820d
Add validation of the states required like for domain
2008-09-17 10:57:46 +02:00
Cédric Krier
6b3bd121a7
Fix indent
2008-09-17 10:57:16 +02:00
Cédric Krier
01f6c3d263
Remove old wrong class naming
2008-09-15 00:22:07 +02:00
Cédric Krier
8a64688a04
Fix recursion in EvalEnvironment __getitem__ for issue359
2008-09-14 13:37:09 +02:00
Cédric Krier
c98661a89d
Add missing logging import for issue358
2008-09-14 13:01:34 +02:00
Cédric Krier
8f64ab1f9c
Improve EvalEnvironment when validating domains
...
Now we read the record value only if used in the domain.
2008-09-13 13:42:04 +02:00
Bertrand Chenal
cb4971ac6e
Logging refectoring:
...
* simplified mechanism
* reverted color on error, warning and critical messages in
console. (inspired by openerp rev. 1085)
2008-09-12 19:57:33 +02:00
Cédric Krier
fd6b450bd3
Fix active check in _where_calc for the new clause syntax
2008-09-12 11:14:20 +02:00
Cédric Krier
9d2fd30924
Remove semaphore on get
2008-09-10 17:19:43 +02:00
Cédric Krier
fd8930e330
Don't translate fields in fields_get if there is no language in context
2008-09-10 14:50:16 +02:00
Cédric Krier
b925659d50
Make empty list in clause is converted into true
2008-09-10 14:38:56 +02:00
Cédric Krier
f53e831499
Use remove_blank_text for xml parser and force pretty_print to False
2008-09-10 13:45:12 +02:00
Cédric Krier
65dc54b36e
Remove str call for export for issue341
2008-09-10 00:38:39 +02:00
Cédric Krier
8ce07db532
Fix _timestamp for table_query
2008-09-08 12:46:06 +02:00
Cédric Krier
75fce87176
Fix ConcurrencyException to be time independant
...
Add new keyword field '_timestamp'
Check concurrency based on _timestamp of each ids
2008-09-05 13:25:54 +02:00
Cédric Krier
fff67c1dfd
Remove _log_access on ORM
2008-09-05 12:18:20 +02:00
Cédric Krier
f3bd15703b
Update ir_model with object information
2008-09-05 00:09:36 +02:00
Cédric Krier
9d9b749680
Improve active test in search for inherited fields
2008-09-04 18:49:03 +02:00
Cédric Krier
406208dfcc
Add domain validation
2008-09-04 18:23:59 +02:00
Cédric Krier
e53b917e17
Re-introduce BrowseRecordNull
...
Allow to browse for record that have 0 as id
2008-09-04 18:23:35 +02:00
Cédric Krier
1339a52dc2
Fix = False for boolean to not use is NULL
2008-09-04 18:22:35 +02:00
Cédric Krier
a0be7f6142
Fix child_of on many2many
2008-09-03 13:41:01 +02:00
Cédric Krier
cd28695a80
Allow to use child_of on non-tree field by specify the field name to use like
...
this:
('company', 'child_of', [main_company], 'parent')
2008-09-03 13:24:43 +02:00
Cédric Krier
f51249724a
Translate sql error message
2008-08-28 19:07:25 +02:00
Cédric Krier
52212e0375
Improve error user message to use the en_US translation as fallback
2008-08-28 18:45:19 +02:00
Cédric Krier
704b7be028
Add _sql_error_messages to customize error message from SQL
2008-08-28 12:36:40 +02:00
Cédric Krier
44384e8688
Add error message from orm on IntegrityError
2008-08-26 20:10:45 +02:00
Cédric Krier
1f0ef80e59
Fix guidlines
2008-08-26 20:10:14 +02:00
Cédric Krier
23d1d13cd3
Fix _update_tree to add 1 to right if previous left was 0
2008-08-26 14:36:26 +02:00
Cédric Krier
6e3b428c1b
Standardize notify channel
2008-08-23 15:32:26 +02:00
Cédric Krier
21ffd7677b
Use dictionary to format order clause
2008-08-23 01:35:25 +02:00
Cédric Krier
4492cd5c90
Remove unused functions
2008-08-22 11:32:20 +02:00
Cédric Krier
c1ac5271ef
Better fix Property fields for new list of names behavior
2008-08-19 18:51:24 +02:00
Cédric Krier
4da51389a2
Fix Property fields for new list of names behavior
2008-08-19 17:27:00 +02:00
Cédric Krier
151f4cd600
Improve fields Function that have the same function
...
Call only once the function with a list of names instead of name.
It will works only if the names is in the signature of the function and if all
the fields Function have the same arg.
2008-08-19 15:34:28 +02:00
Cédric Krier
d1c0032ce2
Remove invalid comment
2008-08-19 15:32:01 +02:00
Cédric Krier
1fbe5bc4c9
Improve delete for Modified Preorder Tree Traversal to not rebuild all the
...
tree
Add remarks on _update_tree
2008-08-18 20:27:03 +02:00
Cédric Krier
7d62f12077
Fix _update_tree for issue261
2008-08-18 18:35:35 +02:00
Cédric Krier
2fa595d812
Add _rebuild_tree when deleting one record
2008-08-15 17:56:11 +02:00