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
Nicolas Évrard
96d4de1709
_validate records in bunch of RECORD_CACHE_SIZE
...
This is required in order to prevent invalidating the LRU cache too often
review3061002
2014-02-03 16:30:18 +01:00
Cédric Krier
cced058d16
Fix documentation about button name
...
review3011004
(transplanted from 97ae3a1a8a01e1272b91bc0457f3d71bbc9f057c)
2014-01-31 22:29:01 +01:00
Cédric Krier
cc74f29d9c
Fix documentation about button name
...
review3011004
(transplanted from 97ae3a1a8a01e1272b91bc0457f3d71bbc9f057c)
2014-01-31 22:29:01 +01:00
Cédric Krier
ab0e242bc2
Fix documentation about button name
...
review3011004
2014-01-31 22:29:01 +01:00
Cédric Krier
2ba9526d37
Prevent unecessary update of record when loading XML
...
review3061003
2014-01-31 22:26:55 +01:00
Cédric Krier
4b7328a75d
Add Content Name to ActionReport
...
This will ease the edition of the report template from the client.
issue3608
review2851002
2014-01-31 22:19:55 +01:00
Cédric Krier
bc6acd08ee
Drop support of Python 2.6
...
review2691002
2014-01-31 00:02:03 +01:00
Cédric Krier
4e535164c2
Resync widget attributes and add missing filename attribute in views
...
review2911002
2014-01-26 22:10:57 +01:00
Cédric Krier
2e7c28d348
Add with_on_change switch to default_get
...
default_get should not call on_change when called in create because it could
modify values set by the caller.
issue3602
review2781002
2014-01-26 21:57:15 +01:00
Cédric Krier
905343c900
Add fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:27:24 +01:00
Cédric Krier
e60274bd27
Fix MySQL tests
...
- Force UTC timezone on MySQL connection
- Add 1s sleep to test check timestamp
review2801002
2014-01-21 21:12:55 +01:00
Cédric Krier
0c77605896
Increase version number
2014-01-18 20:38:11 +01:00