Commit Graph
6353 Commits
Author SHA1 Message Date
Cédric Krier c3a8be00ca Add option to remove leading and trailing white spaces from char
issue7914
review340511008
2022-09-19 21:25:55 +02:00
Cédric Krier 827bb0b69d Activate module tests for LRUDictTransaction tests
The test case use a Transaction instance which needs a database to connect to.
2022-09-19 09:03:03 +02:00
Nicolas Évrard e46d5dbfc6 Catch get_connection errors in Cache listener
issue11563
review411271003
2022-09-17 19:00:48 +02:00
Cédric Krier 1fcefeacc9 Strip only one wildcard
issue11682
review443571003
2022-09-16 23:36:30 +02:00
Cédric Krier 93d3bab62a Set rec_name of wizard defaults in a dictionary under dotted suffix
issue11706
review423821003
2022-09-15 21:49:12 +02:00
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 b847a56089 Requires python-sql >= 1.3 to use queries in conditionals
Since issue7177 this features is needed to set the path.

issue11671
review441361003
2022-09-01 22:10:10 +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 324180552a Add example for CORS configuration 2022-06-10 12:33:37 +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 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