Commit Graph
4529 Commits
Author SHA1 Message Date
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 cf873a2028 Added tag 3.2.0 for changeset b3d84aa2c3a6 2014-04-21 20:26:09 +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
Cédric Krier 88bd235c3d Fix documentation warnings 2014-04-17 17:40:50 +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
Oscar Alvarez 59b63407fd Fix translation es_CO for domain_validation_record 2014-04-06 17:50:52 -05:00
Cédric Krier 80fc6aff30 Use copy of handlers set to prevent changed size during iteration 2014-04-04 23:38:21 +02:00
Cédric Krier 68127768cf Remove old backward Python <= 2.6 compatibility code 2014-04-04 23:34:56 +02:00
Oscar Alvarez f87656e899 Translation es_CO updated 2014-04-03 17:05:49 -05:00
Cédric Krier 6ca677e877 Update translation source per module
issue3775
review4491002
2014-03-21 23:43:59 +01:00
Sergi Almacellas Abellana 5c85442e93 Add reload menu and reload context to client actions
issue3740
review4231002
2014-03-19 23:30:07 +01:00
Cédric Krier 9dbc025011 Add restore_history to ModelSQL
issue3456
review1441003
2014-03-18 20:07:03 +01:00
Cédric Krier 6d1be2574b Allow to customize field column and fix numeric search for SQLite
issue3733
issue3648
review4421002
2014-03-18 19:59:04 +01:00
Cédric Krier 335b0b6851 Add history revisions
issue3678
review3551002
2014-03-18 19:54:32 +01:00
Cédric Krier 7c151984e0 Let raise user error in import_data
issue3767
review4441002
2014-03-18 19:49:51 +01:00
Cédric Krier 5082be317a Fix wrong Concat in the translation join for ir.model 2014-03-18 16:24:23 +01:00
Nicolas Évrard ff4edfb401 Add multiselection widget to rn[cg]
review3851002
issue3634
2014-03-16 21:10:34 +01:00
Nicolas Évrard 4334efa2ee Add index to one2many's on_change add
review2091002
issue3539
2014-03-16 20:49:42 +01:00
Nicolas Évrard 498bc47097 Use create multi in import_data
review3011003
2014-03-16 20:45:12 +01:00
Cédric Krier 9d1dc45b6e Skip domain validation for Dict field 2014-03-16 15:30:13 +01:00
Cédric Krier 20028f86ec Fix wrong assumption to compute relations in domain validation 2014-03-16 15:28:53 +01:00
Cédric Krier f72b983c0f Check relation access in fields_get and for default fields in read
issue3750
review4261002
2014-03-15 11:01:14 +01:00
Cédric Krier 4306811fe6 Remove auto-refresh on Action Window
issue3752
review4221004
2014-03-15 10:50:42 +01:00
Cédric Krier a130816cbd Add support of domain for non-relation field
issue3743
review4181002
2014-03-15 10:44:45 +01:00
Cédric Krier 64421ff64f Manage microseconds in JSON-RPC and XML-RPC
review3551002
2014-03-15 10:36:20 +01:00
Cédric Krier 88a4bce42d Ensure to read the last history record
history records for the same id could have the exact same timestamp so to always
read the same record, the last one inserted is used by ordering on __id.

issue3741
review4161002
2014-03-10 20:26:56 +01:00
Cédric Krier 0c6ba3a325 Remove back Many2One reference in copy test Many2Many
This reference is useless and create a circular dependency.
2014-03-10 10:17:32 +01:00
Cédric Krier f9188bd280 Fix register order of Models for copy test Many2Many 2014-03-09 18:25:37 +01:00
Nicolas Évrard 677353efb5 Use the original context in AttributeManager
Because the record instances keep a reference to the context the set_context
method should use the original context unchanged in AttributeManager

review4051002
issue3732
2014-03-09 17:20:05 +01:00