Cédric Krier
d93c30bfb5
Increase version number
2017-10-30 14:44:11 +01:00
Cédric Krier
56eac4c06b
Added tag 4.6.0 for changeset e7a6d0e80022
2017-10-30 14:43:28 +01:00
Cédric Krier
eb2156d58d
Prepare release 4.6.0
2017-10-30 14:43:28 +01:00
Cédric Krier
291beaa10c
Wait for the database accepting connection to run tests
...
issue6844
review43671002
2017-10-30 09:36:10 +01:00
Cédric Krier
858fc93814
Add missing TYPES_MAPPING of INTERVAL for MySQL backend
...
changeset eeab8793a918 missed to move the mapping of INTERVAL to DOUBLE for
MySQL backend.
issue6838
review43651002
2017-10-29 21:52:33 +01:00
Cédric Krier
648053d75e
Update translations
2017-10-28 16:48:33 +02:00
Cédric Krier
5b68d85117
Do not reset target link of one2many if it does not exist
...
The _save_values reset the target link of one2many because it will be set by
the setter. But when the one2many is a Function field, it may not have a
target.
issue6872
review42761002
2017-10-28 01:46:49 +02:00
Cédric Krier
d371ca43b7
Improve documentation of order
...
It should be described in ModelStorage.search instead of ModelStorage._order
because search is where it is used.
review44411002
2017-10-26 10:55:59 +02:00
Cédric Krier
87bbc9ee1a
Apply filter when searching on xxx2many with one
...
The changeset b16a085824ce, which implements the filter, did not update the
search_domain of the fields to also apply the filter on the searched result.
issue6871
review36721003
2017-10-24 22:19:40 +02:00
Cédric Krier
12a3098a8b
Fix typo in test method name
2017-10-24 22:14:50 +02:00
Cédric Krier
0f7b1c1e17
Remove support of Python 3.3 and add Python 3.6
...
issue6843
review41611002
2017-10-22 14:57:04 +02:00
Cédric Krier
6a90d3ad68
Use the target model name to check access right for many2many field
...
The attribute target contains the name of the field on the relation model and
not the name of the target model.
issue6856
review36701002
2017-10-21 10:44:11 +02:00
Sergi Almacellas Abellana
f1341abccd
Use string formating on warn messages
...
issue6864
review35711002
2017-10-19 12:40:10 +02:00
Sergi Almacellas Abellana
49f6691b60
Add missing primary key for cache table on mysql backend
...
issue6840
review42731002
2017-10-16 13:34:05 +02:00
Cédric Krier
d3adf56163
Do not copy fields which are not ModelStorage or using table_query
...
It is not allowed to create/write/delete on such ModelSQL.
issue6819
review39751002
2017-10-13 23:31:33 +02:00
Cédric Krier
b7ae7c8b0f
Add test for required Reference with invalid record
...
issue6749
review36661002
2017-10-11 22:41:55 +02:00
Cédric Krier
36c0ea7a1b
Enforce required Reference field to have valid record
...
issue6749
review36661002
2017-10-11 22:41:05 +02:00
Sergi Almacellas Abellana
520824b633
Take in account the modules filter when adding tests to all_suite
...
This was wrongly removed in changeset 2e73b7d8e1c6
issue6817
review44371002
2017-10-06 14:42:26 +02:00
Cédric Krier
a17386e970
Let default value of copy converted for the type of field
...
The default value of copy is expected to be the same format as for the default
methods. So the value for xxx2Many fields must be converted.
issue6818
review37751002
2017-10-06 11:00:41 +02:00
Sergi Almacellas Abellana
3446e5c2c0
Allow calendar elements as calendar view xpath children
...
issue6812
review37741002
2017-10-05 13:14:50 +02:00
Albert Cervera i Areny
8f1242da3e
Change rec_name label to "Record Name".
...
issue5643
review23211003
2017-10-02 20:19:10 +02:00
Nicolas Évrard
06c4fe4868
Add support for PosgreSQL version >= 10 sequences
...
issue6789
review43531002
2017-10-02 17:59:16 +02:00
Nicolas Évrard
ddb7769310
Move handling of sequences to the Database object
...
issue6788
review43521002
2017-10-02 17:48:23 +02:00
Nicolas Évrard
8c1699f53a
Add testing documentation
...
review35371002
2017-10-02 11:38:31 +02:00
Nicolas Évrard
ba9cbab0de
Allow to add tests in trytond through entry_points
...
issue6423
review35371002
2017-10-02 11:38:02 +02:00
Sergi Almacellas Abellana
74ef322993
Sync toolbar default value on rnc and rng files
...
issue6783
review44331002
2017-09-30 18:55:48 +02:00
Cédric Krier
83656053c8
Order operation on relational field to avoid constraints
...
The order on which the operations are applied can trigger constraints.
So it is safer to first delete then write and finally create.
issue6790
review43511002
2017-09-28 23:44:48 +02:00
Nicolas Évrard
a6688da3d3
Add missing fields import removed by merge of changeset 6089dcb6076a
2017-09-28 19:27:02 +02:00
Nicolas Évrard
13944b6b84
Remove useless computation of module on the translations creation
...
The .create() call for the ir.translation object guess the module of the
translations created when the module passed is not a value evaluating to True.
This could cause the unique constraint to fail when synchronizing translations
after a report has been overriden in the interface.
issue6732
review36581002
2017-09-28 18:42:29 +02:00
Nicolas Évrard
40d37f57bf
Add test for ModelSingleton inheritance order
...
issue6629
review43261002
2017-09-28 18:40:39 +02:00
Cédric Krier
c83e9b51e3
Allow to use report name or instance in get_email
...
issue6774
review38731002
2017-09-27 18:50:07 +02:00
Cédric Krier
1506fb82a8
Fix searcher methods for dot notation
...
issue6757
review40651002
2017-09-27 18:37:05 +02:00
Cédric Krier
375629dfd3
Support unicode in message and description of TrytonException
...
The easiest way to support both Python 2 and 3 is to implement __unicode__ and
encode the result for __str__.
issue6768
review39681002
2017-09-26 01:33:02 +02:00
Cédric Krier
9eafd65d2e
Add translated descriptor for Reference field
...
issue5667
review39671002
2017-09-26 01:25:26 +02:00
Sergi Almacellas Abellana
730ecb68b2
Implement alter_type and alter_size for sqlite backend
...
issue6730
review38591002
2017-09-20 11:29:12 +02:00
Cédric Krier
52ddc85f1a
Use entry point name instead of last module name
...
issue6761
review37681002
2017-09-19 23:21:55 +02:00
Cédric Krier
e159639af4
Extract strings from Flat OpenDocument content
...
issue6545
review43451002
2017-09-07 18:48:39 +02:00
Cédric Krier
db0b15e4e9
Add support for int and str on TranslateModel
...
In Python3, those methods are not resolved using __getattr__ machinery.
2017-09-03 11:53:19 +02:00
Cédric Krier
5a1bc137a3
Add a maximum size for request
...
issue6619
review38441002
2017-09-03 11:32:17 +02:00
Cédric Krier
f110fccf44
Add support for single record report
...
A single report render each record separately and return them in a zip file.
To ensure the uniqueness of the file in the zip, it uses the id of the record
but also the record name to be user-friendly.
issue6640
review37581002
2017-09-03 11:14:10 +02:00
Cédric Krier
de8c68c646
Ensure relatorio is installed with fodt support
2017-08-31 23:29:09 +02:00
Cédric Krier
a5e82cb1e6
Add support for Flat OpenDocument
...
issue6545
review35031002
2017-08-31 22:52:16 +02:00
Cédric Krier
9ad70213a3
Add get_email in trytond.report
...
issue6671
review36511002
2017-08-28 23:15:14 +02:00
Sergi Almacellas Abellana
c49e599e26
Add missing changelog for plain extension replacement
2017-08-28 10:32:14 +02:00
Sergi Almacellas Abellana
f29f3c0085
Replace plain extension by txt
...
issue6676
review41501002
2017-08-24 15:42:05 +02:00
Cédric Krier
23828b8222
Ensure any connection is left open when dumping as template
...
issue6699
2017-08-17 19:08:51 +02:00
Cédric Krier
b91f703ee9
Update to drone 0.8
...
issue6030
review37611002
2017-08-15 19:19:21 +02:00
Cédric Krier
07d293caf8
Add support test database cache for remote postgresql
...
If pg_dump/pg_restore are not available, we create a copy of the database on
PostgreSQL server using the template option of "CREATE DATABASE". We still
create a file in the cache folder to know that there is a backup.
issue6699
2017-08-15 00:21:45 +02:00
Cédric Krier
eef26ece5d
Use char widget on translation list
...
This improve the performance on tryton as it can then use fixed column.
issue6697
review39591002
2017-08-11 22:56:28 +02:00
Cédric Krier
34cb03bd1e
Increase session randomness to 32 bytes
...
issue6682
review35521002
2017-08-02 23:11:34 +02:00