Commit Graph
6092 Commits
Author SHA1 Message Date
Cédric Krier 97c0707106 Do not use keyword argument for sequence_next_number SQL
issue10621
review342831002
2021-08-12 18:35:15 +02:00
Sergi Almacellas Abellana fa51548ac1 Do not check access when on email complete
issue10608
review371391002
2021-08-09 12:48:54 +02:00
Cédric Krier 489aa4729d Set all language definition in locale
issue10595
review334571002
2021-08-06 09:48:07 +02:00
Cédric Krier 7b34b7e8ad Convert avatar image to RGB prior to saving as JPEG
issue10590
review369321037
2021-08-06 09:10:13 +02:00
Cédric Krier 2bf9d3c3a9 Use named formatting arguments on invalid sequence message 2021-08-06 09:09:15 +02:00
Cédric Krier 5327972941 Make ImmutableDict dumpable by protocols
issue10599
review349001002
2021-07-22 19:06:15 +02:00
Cédric Krier 8bc8ec9420 Use argon2 or scrypt to hash password by default
issue10529
review359761002
2021-07-12 23:31:09 +02:00
Cédric Krier 2de16cf0f4 Do not reset cache on commit and clear
When a transaction is committed indeed a new transaction is started. So we do
not need to use a transaction cache just because a commit was sent because the
started_at is reset to a higher time.
This same logic applies to a rollback.

issue10528
review365521003
2021-07-12 23:14:32 +02:00
Maxime Richez f5f1328c12 Allow PYSON Expression as key for PYSON In with dict object
issue10542
2021-07-11 11:25:30 +02:00
Cédric Krier 30ddd9fa54 Support avatar of size 2048
issue10543
review352261002
2021-07-07 00:44:40 +02:00
Korbinian Preisler 5b605d45cc Limit size of report name to 200 chars
issue10330
review332771003
2021-07-05 09:52:19 +02:00
Cédric Krier 3a5fd17124 Add default value for CI env
issue10455
review332961002
2021-07-04 17:54:49 +02:00
Sergi Almacellas Abellana 4445c2d69e Set full domain on email template setup
issue10517
review352191002
2021-06-29 11:57:04 +02:00
Cédric Krier f6e320efd1 Add method to format warning name with records
issue10507
review346471002
2021-06-17 09:25:40 +02:00
Cédric Krier 212181ded1 Add documentation note about listening to all interfaces
issue10465
review361991002
2021-06-17 09:22:32 +02:00
Nicolas Évrard b0cd6d1678 Add option to trytond-console to start a readonly transaction
issue10495
review358231002
2021-06-16 14:59:59 +02:00
Nicolas Évrard c9d43f50c0 Add support for SQL expression to sqlite's TRIM
issue10510
review352121003
2021-06-16 14:55:46 +02:00
Cédric Krier c6e42ec4cf Test relation domain with context
issue10386
review336171002
2021-06-06 09:28:24 +02:00
Cédric Krier 04b66919f7 Set field context when validate domain
issue10386
review336171002
2021-06-06 09:27:28 +02:00
Sergi Almacellas Abellana 3108414aaa Add support for werkzeug 2.0
issue10086
review337571002
2021-05-28 09:10:15 +02:00
Cédric Krier 78bc172584 Do not push a new task on database operational error without channel
If a task is pushed again, this creates an infinite loop because the task is
appended to the transaction tasks list and so it is run again in the same
request.

issue10421
review346251002
2021-05-21 00:27:55 +02:00
Nicolas Évrard 0120f274f2 Search and get keys in one request for Dict fields
issue10332
review349751003
2021-05-19 15:41:39 +02:00
Maxime Richez dca4d207f8 Make language code unique
issue10334
review334301004
2021-05-18 22:34:43 +02:00
Cédric Krier 056d15ede5 Support Binary field in CSV import/export
issue10350
review346101002
2021-05-18 22:08:59 +02:00
Cédric Krier d8ddff1b9b Add BOOL_AND and BOOL_OR to SQLite backend
issue10316
review330801002
2021-05-16 18:09:28 +02:00
Cédric Krier 0b1041b4c5 Remove _check_access and _skip_warnings keys from cache's context
issue10377
review351911002
2021-05-16 17:52:30 +02:00
Cédric Krier aa99adcbc6 Raise a UserError when SQL sequence operations fail
issue10235
review332771002
2021-05-16 15:33:53 +02:00
Cédric Krier 6a626d3bad Import unittest.mock before using it
issue10422
2021-05-15 17:53:23 +02:00
Cédric Krier ebbb533eb5 Use start and stop methods of patch in scenario
This ensure that the modification on the object are removed at the end of the
scenario.

issue10422
review332891002
2021-05-15 09:22:28 +02:00
Cédric Krier 7a11f76cec Remove _request key from cache's context
issue10376
review351901002
2021-05-05 23:14:54 +02:00
Cédric Krier 646ba70965 Pop cache keys from a copy of the context
Otherwise it modifies the context for the all transaction.

issue10380
review358061003
2021-05-05 23:12:49 +02:00
Cédric Krier 9840d11e84 Do not test empty res_model against ModelSingleton
res_model is not required so it can be empty.

issue10387
review348321002
2021-05-05 23:10:30 +02:00
Cédric Krier 6876233292 Skip avatar test if PIL is not installed 2021-05-05 18:09:08 +02:00
Cédric Krier 0184868f9c Ignore pool refresh if _modules is None
issue10383
review332831002
2021-05-05 12:03:41 +02:00
Cédric Krier 8c7374dd0f Increase version number 2021-05-03 15:32:17 +02:00
Cédric Krier 09f135800d Add tag 6.0.0 [skip ci] 2021-05-03 15:32:01 +02:00
Cédric Krier 768227e5b7 Prepare release 6.0.0 [skip ci] 2021-05-03 15:32:00 +02:00
Cédric Krier 48823b39ca Update translations [skip ci] 2021-05-02 10:30:14 +02:00
Cédric Krier fcc4ced2f7 Add Romanian [skip ci]
issue9110
review301541002
2021-05-02 09:56:34 +02:00
Cédric Krier 254cff6a03 Add missing bracket in logging format example 2021-04-29 16:11:02 +02:00
Cédric Krier 95b1d4cf12 Ensure one status thread is started per process
issue10335
review349751004
2021-04-28 00:33:38 +02:00
Cédric Krier f4669ab6e9 Skip lazy string translation when model is no more in the Pool
issue10351
2021-04-27 10:38:24 +02:00
Cédric Krier 92d98b36ff Translate LazyString of ir.model and ir.model.field
issue10326
review321041002
2021-04-25 18:19:29 +02:00
Cédric Krier e4015d7bf3 Include records without link with negative search on xxx2many
issue10178
review345981002
2021-04-25 17:56:39 +02:00
Cédric Krier 1ee46331ef Add domain to cron time fields
issue10193
review332661010
2021-04-24 19:28:39 +02:00
Cédric Krier 42cb4a0f53 Set name clause on join condition instead of subquery
The name is a column from a table that is not available in the subquery.

issue10257
review346001004
2021-04-24 19:27:07 +02:00
Cédric Krier 1b40a6461d Do not fail if __main__ has not __file__ attribute
This happens when trytond is launched by a server like uwsgi.

issue10333
review334241002
2021-04-24 19:24:27 +02:00
Cédric Krier 7cd224905e Do not use root user to validate records
It is no more needed as record rules are now ignored by _check_access.

issue10303
review357871002
2021-04-23 22:59:19 +02:00
Albert Cervera i Areny f56915879f Fix typo in test_depend_exists message
issue10305
review342151002
2021-04-23 20:14:57 +02:00
Cédric Krier 22370bebaf Ensure sequence_ordered is ASC
issue10299
review334181002
2021-04-22 23:44:39 +02:00