Commit Graph
5181 Commits
Author SHA1 Message Date
Cédric Krier db583e3df5 Test custom order by calling search on the field
issue11638
review437311003
2022-09-14 19:27:00 +02:00
Cédric Krier 71933379f4 Manage web extension origin as null
issue11686
review421651003
2022-09-14 19:14:04 +02:00
Cédric Krier 986397019c Remove same types restriction on PYSON If
issue11644
review419661003
2022-09-08 13:17:54 +02:00
Cédric Krier 7dd4445f56 Allow PYSON size of fields to be None
issue11643
review411571003
2022-09-08 13:15:54 +02:00
Cédric Krier d1ea8ba864 Use fromisoformat method from datetime module
issue11637
review411551003
2022-09-08 13:10:15 +02:00
Cédric Krier 12a3a8a9d7 Add backend documentation
issue9134
review269041003
2022-09-08 13:05:06 +02:00
Cédric Krier c0227bb3de Add command line completion with argcomplete
issue11592
review419481003
2022-08-26 18:12:02 +02:00
Dan eb225d58fa Use _test function instead of isfile when testing egg modules
issue11668
review427621004
2022-08-26 09:53:30 +02:00
Cédric Krier a305d0ff57 Do not copy module fields when copying translations
issue11628
review413431003
2022-08-08 22:16:56 +02:00
Cédric Krier 6cbe67529d Set full domain in validation error as fallback
issue11603
review439271003
2022-08-07 23:42:57 +02:00
Cédric Krier 3b55a8d341 Include record name and value in validation error message
issue5581
review26711002
2022-08-06 23:05:40 +02:00
Cédric Krier 0749ba597b Add missing column argument to msg_relation_not_found formatting
issue11615
review423531004
2022-08-01 10:57:00 +02:00
Cédric Krier 5f66545927 Skip keyword action window for which user has not read access
issue11589
review419541003
2022-07-30 11:10:37 +02:00
Cédric Krier f2c57af55e Translate view in view_get instead of when parsing view
This is needed when the inheritance is from a different model.

issue11591
review417521003
2022-07-19 20:57:47 +02:00
Cédric Krier 975abfd252 Use alias expression in where clause of implicit join
issue11486
2022-07-18 10:02:12 +02:00
Cédric Krier 8f1a367eaf Support not sized iterable in grouped_slice
issue11575
review431301003
2022-07-18 00:25:45 +02:00
Cédric Krier c46fa46d1e Do not copy ids in reduce_ids
issue11576
review413331003
2022-07-18 00:23:38 +02:00
Cédric Krier 31811487ab Add implicit join clause to subquery of where clause on Many2One
This modify the complexity of the SubPlan from O(n^2) to O(n log(n)) thanks to
the index on the primary key.

issue11486
review415121003
2022-07-18 00:18:41 +02:00
Cédric Krier 9bcccacfb9 Add duration and truncate data in logging messages
issue11530
issue5228
review423311003
2022-07-17 23:52:44 +02:00
Cédric Krier a3c55b07eb Setup mixin following modules dependency order
issue11586
review443341003
2022-07-17 00:07:23 +02:00
Sergi Almacellas Abellana 4db0e2dd8e Add header parameter on export data
issue9301
review439151003
2022-07-01 12:45:38 +02:00
Cédric Krier ce127c1e57 Update sendmail tests for SSL context
issue11564
2022-06-21 10:57:08 +02:00
Cédric Krier 53227fcf7b Enforce certificate validation for SMTP connection
issue11564
review417381003
2022-06-21 10:16:35 +02:00
Adrià Tarroja Caubet 16275e0259 Display asserted inherit expression when nothing found
issue11560
review419311003
2022-06-15 18:59:58 +02:00
Cédric Krier 638f5505fa Do not convert exceptions in HTTPException for RPC calls
issue11483
review423381003
2022-06-15 18:52:38 +02:00
Cédric Krier 96ea9b0af5 Unify logging exception in wrappers
Only with_pool is responsible to log exceptions.
Also it does not log UserError nor UserWarning but convert them as HTTP client
error.

issue11483
review435131003
2022-06-09 09:29:33 +02:00
Cédric Krier 3bfcb08ab1 Do not skip eager load for field in cache but depending on non-cached fields
and filter sibling ids only if all the needed fields are in caches.

issue11481
review419131003
2022-06-08 09:21:38 +02:00
Cédric Krier f6321fefe5 Do not group PYSON domains of Reference field
Each domain depend on the target so they can not be grouped into a single OR-ed
domain.

issue11544
review437141003
2022-06-08 09:19:40 +02:00
Cédric Krier 67582d6bd8 Ignore write and delete rule domains if they are the same as the read domain
issue11480
review419121003
2022-05-31 23:47:56 +02:00
Adrià Tarroja Caubet 1b54b30a7c Do not copy avatars nor uuid
issue11518
review433161003
2022-05-25 17:38:34 +02:00
Cédric Krier 656cd60531 Add cache on list icons
issue11438
review405311003
2022-05-19 22:12:32 +02:00
Cédric Krier fb245df255 Do not depend on the context for get_language cache
issue11437
review378791003
2022-05-19 22:10:43 +02:00
Cédric Krier 38edc41514 Ignore invalid Reference field when reading related fields
issue11484
review449081003
2022-05-19 22:02:33 +02:00
Cédric Krier cece7617b9 Do not log HTTPException in with_transaction
issue11482
review443091003
2022-05-19 22:00:57 +02:00
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 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
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
Korbinian Preisler 9d142e5ef5 Clear sessions when active field is changed
issue11431
review392031002
2022-04-25 23:26:47 +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 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