Commit Graph
5181 Commits
Author SHA1 Message Date
Cédric Krier e339a57b3e No need to use context in the key of _view_toolbar_get_cache
Cache already use by default the context to generate the key.

issue3993
review13351002
2014-06-22 17:18:01 +02:00
Cédric Krier 68c34c203a Add name to union_column to ease override
The current union_column uses the field.name to get the union_field, it works
correctly but prevent to implement by override a clean mapping transformation of
name between the union and the models. Indeed it is doable by passing an other
field but then we could potentially lost the automatic sharding.

issue3992
review13331003
2014-06-22 17:11:06 +02:00
Cédric Krier 962fe3daf5 Merge ir_translation migration from 2.2 and 2.8
Both migration are incompatible so it only works if there are merged.

issue3998
review7391002
2014-06-22 16:58:07 +02:00
Cédric Krier 7218f5d42a On historied search select the record with highest __id
issue3861
review11271002
2014-06-22 16:56:08 +02:00
Sergi Almacellas Abellana 780f047e10 Use one transaction per test that fails in the database
review13331002
2014-06-17 11:37:45 +02:00
Cédric Krier 6c793d540b Fix changeset d3caeb4c20d1 to use the new JSONDecoder instead of object_hook 2014-06-14 08:48:55 +02:00
Cédric Krier b955ab3070 Allow to sync XML data
- Adds menu entry for ir.model.data
- Remove write access on ir.model.data to administrator group
- Add sync button on ir.model.data
- Change storage format of values to be comparable

issue3918
review8351002
2014-06-13 19:14:48 +02:00
Cédric Krier 3c53e43d25 Add test numeric search with None
issue3930
review11281002
2014-06-13 19:12:14 +02:00
Cédric Krier 38360583d2 Fix SQLite Numeric domain value for None
issue3930
review11281002
2014-06-13 19:11:44 +02:00
Cédric Krier 8ad55d1b71 Add test for XML-RPC dumps None to nil
issue3981
review6351003
2014-06-13 19:09:22 +02:00
Cédric Krier bc29051ee6 XML-RPC dumps None to nil instead of bool
issue3981
review6351003
2014-06-13 19:08:32 +02:00
Sergi Almacellas Abellana 4d1e2ba0c0 Use more fine grained exceptions on tests
issue3973
review8431002
2014-06-11 11:22:26 +02:00
Cédric Krier 8155f13880 Set also _parent_ field in fields.depends
issue3978
review8441002
2014-06-09 18:07:44 +02:00
Cédric Krier baf21adf7f Improve validation of PYSON domain
Group the validation of PYSON domain by evaluated domain.

issue3948
review5351003
2014-06-08 00:41:57 +02:00
Cédric Krier e740b5f432 Remove on_change call from default_get
The on_change call doesn't work for xxx2many fields, so it is moved on the
client side where it is properly managed.

issue3923
review6301002
2014-06-08 00:33:31 +02:00
Cédric Krier 3f8d858c01 Add UnionMixin
issue3906
review8341002
2014-06-08 00:26:57 +02:00
Cédric Krier 814b1d2ea5 Ensure ids clause is a list for concatenation
issue3949
review11281006
2014-06-08 00:18:55 +02:00
Cédric Krier 174b2ed218 Fix protocols and add unittest
review12371002
2014-06-07 23:54:44 +02:00
Cédric Krier 66d9aeb29f Fix and add missing registering type for json and xmlrpc
introduced in changeset ec4c234379ab
2014-06-07 01:04:46 +02:00
Sergi Almacellas Abellana f55e2c07d2 Fix KeyError when raising digits validation error.
issue3970
review8411002
2014-06-06 19:15:03 +02:00
Nicolas Évrard f7133b8670 Use total_ordering
issue3884
review8291003
2014-06-06 13:26:44 +02:00
Nicolas Évrard d83fc99f35 Allow to register different type for json/xmlrpc encoding/decoding
issue3839
review5021003
2014-06-06 12:57:27 +02:00
Cédric Krier 03801d399a Allow to disable sorting of dictionary field's selection
issue3605
review2821002
2014-05-30 16:31:17 +02:00
Cédric Krier ef48a7f6f8 merge 2014-05-30 15:51:45 +02:00
Sergi Almacellas Abellana d94e4fce89 Add active field to views of action window
review12321002
issue3770
2014-05-29 09:49:04 +02:00
Cédric Krier 49ce719d0e Add SQLite support for char_length
review10331002
2014-05-27 22:32:26 +02:00
Cédric Krier 67dfdc6a99 Make global cache depends on explicit context keys
This should prevent the invalidation of the cache when the context keys that are
changed has no influence onn the global cache.

issue3905
review6291002
2014-05-22 23:36:00 +02:00
Cédric Krier 360d1232fa Fix joins when ordering on ir.model.field
issue3910
review10311002
2014-05-17 18:41:20 +02:00
Cédric Krier 169b41e0b3 Allow to set a tuple model, dictionary for Reference field
issue3902
review9321002
2014-05-10 20:28:58 +02:00
Cédric Krier 1abe24ce34 Add MachMixin
issue3867
review5271002
2014-05-09 23:16:19 +02:00
Cédric Krier 22899c33e2 Set relation_field of one2many only when exists
The client use this value if it exists for string concatenation, so having None
fails.
2014-05-09 14:52:30 +02:00
Cédric Krier 5c00bf48bf Set relation_field only if there is no ambiguity
issue3899
review6271002
2014-05-09 14:37:30 +02:00
Cédric Krier a0093e8899 Copy the original field definition
To prevent side-affect with mutable attributes.

issue3814
review4821002
2014-05-06 22:42:42 +02:00
Cédric Krier 6fd9e26b13 Add tests to float search with None
review4701002
2014-05-04 00:16:47 +02:00
Cédric Krier 147d6c0ad8 Improve cache management on access right
issue3848
review5111002
2014-05-04 00:11:17 +02:00
Cédric Krier f6c18d6bd5 Fix typo in digits_validation_record error message
issue3824
2014-04-29 19:13:37 +02:00
Cédric Krier 0a1fa3c6e8 Increase version number 2014-04-21 20:28:18 +02:00
Cédric Krier e5f2c9c3c9 Prepare release 3.2.0 2014-04-21 20:26:08 +02:00
Cédric Krier 9944474f5d Clean translations 2014-04-20 22:26:13 +02:00
Cédric Krier 3d556a69f0 Always write modified record of xxx2many
Even if the record is already added to the xxx2many field, it can be modified.

issue3855
review5181002
2014-04-18 19:31:47 +02:00
Bruno M. Villasanti 42509f36db Update translation for es_AR 2014-04-17 20:51:24 -03:00
Jordi Esteve e2fd64d680 Update translation for es_ES 2014-04-18 00:45:45 +02:00
Mathias Behrle ef8e539372 Update translation for de_DE 2014-04-18 00:11:49 +02:00
Albert Cervera i Areny 0c211d809b Merge. 2014-04-17 23:40:39 +02:00
Albert Cervera i Areny a7633cd9f2 Update Catalan translation 2014-04-17 23:40:12 +02:00
Cédric Krier c6d50fc826 Update fr_FR translation
issue3682
review4881002
2014-04-17 18:28:10 +02:00
Venceslav Vezjak f8669a6fe3 Update sl_SI translation 2014-04-13 19:18:34 +02:00
Cédric Krier eada306375 Always validate field that depends on Function fields
As it is not possible to know if a Function field has changed, field that
depends on it must always be validated.

issue3829
review4901003
2014-04-12 23:48:13 +02:00
Cédric Krier c08724f2ef Don't stop setting Many2Many if first values is empty 2014-04-11 15:41:55 +02:00
Cédric Krier 84cc132dcc Remove domain for user field converted to selection
review4891003
2014-04-07 18:14:37 +02:00