Cédric Krier
23c45fc511
Group records when calling set method for field with the same value
...
We need to loop to compare the values instead of using a dictionary because the
values are not necessary hashable. But it is still an improvement compared to
calling the set method for each record.
issue5398
review19111002
2016-03-19 12:07:27 +01:00
Cédric Krier
a61474274a
Add parent_of operator
...
issue5037
review15711002
2015-11-05 23:22:26 +01:00
Cédric Krier
0c4725b891
Add target_search option on Many2One
...
The option allow to select between the subquery or the join format for target
search clause.
issue4798
review16341002
2015-06-15 01:10:59 +02:00
Cédric Krier
870c058eaa
Add test for search_read order
...
issue3228
review11051002
2015-03-05 11:44:11 +01:00
Cédric Krier
0991a552de
Add TimeDelta field
...
And remove float_time widget.
issue4026
review5911002
2015-02-09 22:58:56 +01:00
Nicolas Évrard
dcf57d8c33
Allow to use the dotted notation for search order parameters
...
issue4370
review5801002
2015-01-02 16:33:00 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier
b379e32745
Add translated descriptor for Dict field
...
issue4343
review11641002
2014-11-27 22:20:43 +01:00
Cédric Krier
fee97ca399
New API for on_change
...
Modify the instance instead of returning a dictionary.
issue4203
review8581002
2014-10-29 20:38:17 +01:00
Cédric Krier
349fc51a7f
Use the context of the relation field for instanciation
...
issue4098
review13461002
2014-08-29 16:49:09 +02:00
Cédric Krier
5bc2beaa75
Add test on browsing history
...
review5451002
2014-07-20 12:47:50 +02:00
Cédric Krier
3f8d858c01
Add UnionMixin
...
issue3906
review8341002
2014-06-08 00:26:57 +02: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
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
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
1a8c5aae1c
Fix check timestamp and add unittest
...
review1087003
2013-09-22 14:28:46 +02:00
Nicolas Évrard
c52889a1d2
Do not take into account active field when doing domain validation
...
review908002
2013-09-17 17:14:14 +02:00
Cédric Krier
ab74123eb2
Merge test/ into tests/
...
review1060002
2013-09-16 11:38:11 +02:00
Nicolas Évrard
6ba18631e8
Use relative imports
2011-12-14 17:00:13 +01:00
Cédric Krier
9eedc60aa0
Improve unittest to run test_suite inside setuptools
2010-03-12 17:47:49 +01:00
Cédric Krier
20741b613d
Improve unittests to run trytond from tests
...
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-03-04 14:02:27 +01:00
Cédric Krier
a8c374617e
Refactor import_data of ModelStorage thanks to h.goebel
...
- translate error message
- handle numeric, date, datetime, reference fields
- improve relation search, fail if too much is found
- add unittest
- add escapechar '\' for ',' in many2many list
2010-02-03 15:59:10 +01:00
Cédric Krier
220b6da07f
Add ModelSingleton
2009-09-01 14:43:49 +02:00
Cédric Krier
676c09aedc
Add unittest for Boolean fields
2009-05-13 12:40:31 +02:00
Cédric Krier
1bb64df0ff
Add tests module and tests for Modified Preorder Tree Traversal
2009-01-28 12:35:55 +01:00
Cédric Krier
8477200335
Better name for tests
2008-07-10 00:01:17 +02:00