Commit Graph
6312 Commits
Author SHA1 Message Date
Nicolas Évrard 7e4150ca3f Read at most cache size or IN_MAX records from the database
issue11468
review427111003
2022-05-10 15:24:37 +02:00
Cédric Krier dd0b32a107 Use recreate table to drop column and init handler after table rename
As the handler is a singleton a new instance does not recreate the table.

issue11301
2022-05-07 14:10:36 +02:00
Cédric Krier a5ac7ba55c Use singleton for TableHandler
issue11301
review366861002
2022-05-07 11:35:14 +02:00
Cédric Krier 6528808d94 Clean translations after every templates have been parsed
A report can have many templates, so we must keep the translations for all of
them.

issue11436
review388441002
2022-05-07 10:58:45 +02:00
Nicolas Évrard 2bac806bbd Remove python2 compatibility code from fields.Binary
issue11467
review411111003
2022-05-06 18:18:01 +02:00
Cédric Krier 49981f7b78 Increase version number 2022-05-02 16:25:17 +02:00
Cédric Krier ee01cc8efe Add tag 6.4.0 [skip ci] 2022-05-02 16:24:53 +02:00
Cédric Krier be9f2a039d Prepare release 6.4.0 [skip ci] 2022-05-02 16:24:52 +02:00
Cédric Krier c0bba7c096 Update translations [skip ci] 2022-05-02 10:32:24 +02:00
Cédric Krier 8495a3f828 Initialize the pool when test create database that is already created 2022-05-02 10:20:14 +02:00
Cédric Krier c5a19d008c Distinct function from method in documentation
issue11408
2022-04-30 22:57:33 +02:00
Nicolas Évrard 769c997024 Remove user login and user preferences cache
The user login cache could result in an error when using trytond in a
multiprocess environment due to a delay in the broadcast of the cache
invalidation.

The user preferences cache was there only to set the context when validating
the records but it is useless since the context is now set from the
transaction.

review401251002
issue11430
2022-04-29 17:14:27 +02:00
Cédric Krier d16c6cdbea Restore inheritance of view from different model
changeset ce1e97be71de broke the inheritance between model by using only the
base architecture without applying the inheritance from its model.

issue11387
review405321002
2022-04-27 18:28:46 +02:00
Cédric Krier ef181c33dd Negate the origin expression of Many2Many with 'not where' operator
issue11425
review403401002
2022-04-27 17:51:52 +02:00
Cédric Krier 522ecac031 Update SMTP-URL link in documentation 2022-04-27 11:48:13 +02:00
Cédric Krier 0e5e162309 Use RFC 5322 instead of deprecated 822 in documentation 2022-04-27 11:45:59 +02:00
Cédric Krier 19b74ad16b Use RFC 5322 instead of deprecated 822 in documentation 2022-04-27 11:24:55 +02:00
Korbinian Preisler 9d142e5ef5 Clear sessions when active field is changed
issue11431
review392031002
2022-04-25 23:26:47 +02:00
Cédric Krier da43cb7905 Check links in documentation
issue11409
review390641002
2022-04-25 18:34:07 +02:00
Cédric Krier 379743c0e5 Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:21 +02:00
Cédric Krier ae61d68de1 Always use a Response wrapper when using testing client
This normalize the behavior through different versions of werkzeug.

issue11353
review385001002
2022-04-22 18:32:25 +02:00
Cédric Krier 348fd9fed9 Correctly indent tutorial entry in documentation index 2022-04-22 09:34:19 +02:00
Cédric Krier 4d048ea04e Remove unused expire variable in email reset password report
Since issue10906 it is no more used.
2022-04-21 10:01:42 +02:00
Cédric Krier 0945fd9b9c Initialize the pool before running queue or cron tasks
issue11400
review384981002
2022-04-19 13:21:42 +02:00
Cédric Krier 656fdc9729 Dumps Dict values in UTF-8 instead of ASCII
This is how they are stored in the database and so we must use also the UTF-8
version when using unaccent to properly remove the accents.

issue11418
2022-04-18 19:40:01 +02:00
Cédric Krier 63c26bbeea Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:20 +02:00
Cédric Krier 38efaaf887 Escape wildcard in tree separator for name domain
issue11321
review356281002
2022-04-16 11:25:38 +02:00
Nicolas Évrard 86534e2116 Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:54 +02:00
Cédric Krier 69b60e4571 Add module tutorial
review32711002
2022-04-12 13:09:01 +02:00
Cédric Krier 5288ffac8c Validate domain of view search
issue11380
review354871002
2022-04-12 10:47:17 +02:00
Cédric Krier ca287e019a Test that all XML view and SVG icon files are used
issue10830
review375751002
2022-04-12 10:35:40 +02:00
Cédric Krier 4ecc0c4c71 Add notification message
issue11065
review367951004
2022-04-11 23:41:21 +02:00
Cédric Krier fcbe0df011 Add validate_fields to ModelStorage
issue11303
review386191002
2022-04-11 23:24:21 +02:00
Nicolas Évrard a8538a03e1 Support _write, _delete and _timestamp values when set from default value
issue11012
review372751002
2022-04-11 12:48:41 +02:00
Cédric Krier c0451724c7 Drop support for PyPy and psycopg2cffi
issue11330
review386371003
2022-04-10 19:10:14 +02:00
Cédric Krier cd64bd7cef Remove unused get_eval_fields import
issue11134
2022-04-10 17:24:15 +02:00
Cédric Krier d891753f56 Clean import 2022-04-09 00:00:16 +02:00
Cédric Krier d80325acf3 Add datetime_field, filename and digits to display_depends
issue11134
2022-04-09 00:05:27 +02:00
Cédric Krier 2f85de3b31 Import cached_property from trytond tools 2022-04-08 21:56:25 +02:00
Nicolas Évrard ccd48d320c Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier 860fb136e0 Update rec_name of tree with on_change
issue11021
review403131002
2022-04-08 09:55:23 +02:00
Cédric Krier 9f5f7306e0 Make warning check re-entrant
issue11341
review354821002
2022-04-08 09:50:47 +02:00
Cédric Krier a51a6850b8 Add string to next call column of scheduled actions
issue11331
review378531004
2022-04-08 09:47:53 +02:00
Cédric Krier c22229970f Add cache volume for check pipelines 2022-04-06 23:37:45 +02:00
Cédric Krier e46a277f6d Make date_trunc case insensitive for SQLite
issue11365
review403201002
2022-04-06 18:54:05 +02:00
Cédric Krier 257257990b Require at least psycopg2 2.7.0
Since rev 892807681516, postgresql backend use the module psycopg2.sql module
which was introduced in release 2.7.0.

issue11328
review354781002
2022-04-06 18:42:58 +02:00
Cédric Krier cb29495dca Use psycopg2cffi only if there is no psycopg2
issue11329
review354791002
2022-04-06 18:40:49 +02:00
Cédric Krier 0720a04037 Use correct image substitution in check_doc
issue11367
2022-04-06 18:24:28 +02:00
Cédric Krier 8f691f23ab Test building documentation
issue11367
review397811002
2022-04-06 18:19:49 +02:00
David Blanco Bautista 76e985a901 Update user application documentation to match current code
issue10218
review374561004
2022-04-06 14:24:38 +02:00