Commit Graph
3091 Commits
Author SHA1 Message Date
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
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 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
Cédric Krier fd25cd6434 Add copy test for Many2Many
Thanks to Laurent Defert

issue3506
review3221002
2014-03-07 20:02:07 +01:00
Cédric Krier f0a4bbcff7 Remove Sha field and add password widget
issue3713
review3791003
2014-03-07 19:38:01 +01:00
Cédric Krier 76cd64e6f8 Add Len to PYSON
issue3692
review3661002
2014-02-27 12:36:53 +01:00
Cédric Krier 9d1a3be65c Fix translation creation
changeset 1a94e9f76bca broke the translation creation because it misses lang
and module value.

review3861002
2014-02-26 09:34:54 +01:00
Cédric Krier f077411117 Fix typo in Menu.get_rec_name introduced in changeset 127981430238 2014-02-25 23:56:34 +01:00
Cédric Krier 97ad256c00 Add unique filter on the cache ids in ModelStorage.__getattr__
_ids must be kept with duplicates because it is important to keep the right
order/proximity of records in the cache. But when reading the values, the ids
must be filtered to be unique to not read it twice.

issue3710
review3781003
2014-02-25 19:12:02 +01:00
Cédric Krier 2190ca9f45 Better cache usage in Menu.get_rec_name
By re-using the field function, it takes better advantage of the global cache.

issue3709
review3781002
2014-02-25 19:11:02 +01:00
Sergi Almacellas Abellana 38d225f7c6 Refactor translation import and update to improve custom types support.
review2431002
issue3566
2014-02-25 10:58:21 +01:00
Cédric Krier c6c0ca4da7 Use bcrypt to hash password if possible
If bcrypt is not available, it fallbacks to sha1 but it will use bcrypt to hash
new password if available.
The storage uses a simple hashing scheme which eases to add new hashing method
and doesn't rely anymore on the specific Sha field but on Function field.

Thanks to Vishesh Yadav

review1039002
2014-02-24 19:48:03 +01:00
Cédric Krier 66a5f7b6f4 When saving record don't store target link for one2many to create
When saving an instance if the relation field of a one2many item is set, it
should not try to save it as it will be replaced by the current record. And in
the worst case, the target set could not be valid and so it prevents to store
the instance which doesn't need of this target.

issue3501
review3601003
2014-02-24 19:20:47 +01:00
Cédric Krier 2680d1b746 Use a sequence of ids, values to set fields
review3331003
2014-02-24 19:15:57 +01:00
Cédric Krier 275e612288 Wrong usage of "or" instead of "|" in PYSON of Trigger.on_time 2014-02-19 17:53:35 +01:00
Cédric Krier dce4d3f732 Client side actions on button and wizard
issue3343
review3231002
2014-02-15 18:34:22 +01:00
Cédric Krier 19f3ab64cb Fix error message "foreign_model_exist"
The value argument has no meaning for this error message and the way it is
retreived in changeset dbbbe6cae2bb is buggy.

review3381002
2014-02-14 00:22:45 +01:00
Cédric Krier 1e9673ea47 Improve module buttons
- Enforce origin state of modules
- Speedup on_write computation
- Better usage of record cache

review3361002
2014-02-14 00:18:27 +01:00
Cédric Krier 729aaa8a00 Better guess "selection_change_with" attribute
Testing on the instance for Selection field is not enough because some field
selection could come from a Function field.
So it is better to use a duck typing style in this case.

issue3649
review3451002
2014-02-14 00:04:31 +01:00
Cédric Krier 6b3f7fb250 Add sign function to SQLite backend
review3411002
2014-02-14 00:00:09 +01:00