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
3d7fb4d75d
Improve setup.py to allow dev publication
...
issue3436
issue1891
review2441002
2014-03-08 12:58:02 +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
8f89bc5b49
null merge from 3.0
2014-03-02 17:36:18 +01:00
Cédric Krier
6808274793
null merge from 2.8
2014-03-02 17:34:24 +01:00
Cédric Krier
74cecc347a
null merge from 2.6
2014-03-02 17:31:51 +01:00
Cédric Krier
d9db0b895e
null merge from 2.4
2014-03-02 17:29:13 +01:00
Cédric Krier
8adadff76d
null merge from 2.2
2014-03-02 17:26:52 +01:00
Cédric Krier
4459c48308
null merge from 2.0
2014-03-02 17:23:53 +01:00
Cédric Krier
499a0edf60
null merge from 1.8
2014-03-02 17:21:04 +01:00
Cédric Krier
d01836b186
null merge from 1.6
2014-03-02 17:18:00 +01:00
Cédric Krier
4c145467c0
null merge from 1.4
2014-03-02 17:14:39 +01:00
Cédric Krier
059790ce30
null merge from 1.2
2014-03-02 17:12:11 +01:00
Cédric Krier
8c1ca4ec2a
null merge from 1.0
2014-03-02 17:06:31 +01:00
Sergi Almacellas Abellana
e64751cf5b
Add docs about new action_id variable on wizards
...
issue3675
review3911002
2014-02-28 20:29:33 +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
1b18348be8
Fix development jsondata_path introduced in changeset fc46f1ab2d36
2014-02-18 14:01:18 +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
Cédric Krier
5ef3276c5f
Fix relatorio documentation links
2014-02-10 00:00:11 +01:00
Cédric Krier
d9e064dde6
Add memoize to import data search functions
...
As during the processing of imported data, there is no creation of new records,
the result of the search calls could be cached.
review2981002
2014-02-09 23:58:45 +01:00
Cédric Krier
26abe9ecd1
Search also on source for some translation types when overriding
...
issue3637
review3221004
(transplanted from 6721c1f1bc0cddbdc6707b4c9803c6d56f6b459d)
2014-02-09 23:53:10 +01:00
Cédric Krier
487381d700
Search also on source for some translation types when overriding
...
issue3637
review3221004
2014-02-09 23:53:10 +01:00
Cédric Krier
8a95fa6d5b
No good reason to make get_translation_join private
...
review3241003
2014-02-06 22:59:42 +01:00
Cédric Krier
3acd4fa312
Add missing button in tree view documentation
...
review3201002
2014-02-06 22:58:31 +01:00
Cédric Krier
9ac1778066
merge
2014-02-06 22:31:29 +01:00
Cédric Krier
5a73f91a6d
Add depends attribute to data tag
...
This is the counterpart of the Pool register of extras_depend modules for the
XML record creation. It allow to create records if some other modules are
installed.
review3041002
2014-02-06 22:30:11 +01:00
Cédric Krier
29358683cd
Add tree_invisible attribute to button in tree view
...
review3041003
2014-02-06 22:25:43 +01:00
Nicolas Évrard
eac48b2a50
Access sql related errors only if Model is a subclass of ModelSQL
...
review3111002
issue3628
2014-02-03 17:51:25 +01:00