Commit Graph
5181 Commits
Author SHA1 Message Date
Cédric Krier 47de42c030 Use always the menu name for the window action name
issue10738
review358911002
2021-09-19 00:08:37 +02:00
Cédric Krier c4c3540201 Use biginteger for integer overflowing XML-RPC integer dumper
issue10732
review363891002
2021-09-19 00:04:57 +02:00
Cédric Krier 33dfe0c713 Fix typo in configure languages wizard 2021-09-16 09:00:16 +02:00
Nicolas Évrard d3a5e680a8 Use UNION for 'Or'-ed domain with subqueries
issue10658
review365781002
2021-09-15 15:16:40 +02:00
Cédric Krier 154d8e4a23 Add remove_forbidden_chars in tools
issue10684
review371581002
2021-09-13 23:43:03 +02:00
Cédric Krier b843e4e5bf Manage errors during non-interactive operations
issue10667
review346781002
2021-09-13 23:40:28 +02:00
Cédric Krier 216a7a9f50 Set search_similarity when testing search by similarity
issue10710
2021-09-10 19:54:44 +02:00
Cédric Krier f8358b1229 Search by similarity only if a threshold is defined
issue10710
review363851002
2021-09-10 19:13:05 +02:00
Cédric Krier 6c9b04b59f Do not retry failing cron task directly
The next call datetime is set even if the task is failing. This way it will be
retried based on the configured frequency.

issue10695
review358751002
2021-09-10 19:08:38 +02:00
Cédric Krier 1e12ebe9f8 Use new image returned by PIL.Image methods
issue10703
review350531006
2021-09-05 14:40:15 +02:00
Cédric Krier a799d9ca9d Set locale of the default language when user has no language
issue10673
review346791002
2021-09-04 19:46:04 +02:00
Cédric Krier d8e0e78f88 Use __str__ of record for warning key
This format is common with proteus.

issue10672
review359941002
2021-09-04 19:44:08 +02:00
Cédric Krier 1b85c2d0f9 Restore threshold between rebuild and update MPTT
issue10623
review350381002
2021-09-04 19:40:33 +02:00
Cédric Krier 5a78da0925 Add estimation count to ModelStorage
issue10623
review350381002
2021-09-04 19:40:02 +02:00
Cédric Krier f38a70d843 Do not rebuild tree of MPTT on nested creation
If the MPTT is updated before calling set of fields, there is no need to
rebuild the tree.

issue10670
review342941002
2021-09-04 19:31:30 +02:00
Cédric Krier 03e2a7f2dc Avoid instantiate set
issue10660
review342911003
2021-09-02 23:56:13 +02:00
Cédric Krier c2e2cdb148 Allow to execute reports without records
issue10409
review355391002
2021-09-02 23:19:36 +02:00
Cédric Krier 6920de2b55 Add strict parameter to sendmail_transactional
and complete the documentation.

issue10681
review353811002
2021-09-02 23:14:56 +02:00
Cédric Krier f8dafb20c0 Support empty digits in format_number of Report
issue10678
review365801002
2021-08-30 00:26:41 +02:00
Cédric Krier 1c3d67a96c Do not try to clean never filled _language_cache
The _language_cache is no more filled since rev 097a3b7df47c.

issue10653
review334681002
2021-08-27 09:05:23 +02:00
Cédric Krier a63de7ab07 Do not read deleted record as extra record
When a record from a browse list has been deleted, we must not try to read it
if other records are accessed.

issue10652
review346731080
2021-08-27 09:01:34 +02:00
Cédric Krier 6dd98fac4a Use a list to store multiple keywords of an action
When computing the action of a menu, if multiple menus have the same action
only the first one will get the right value. The others get the default value
because the dictionary action2keyword store only the last keyword.

issue10659
review353801002
2021-08-27 08:44:56 +02:00
Cédric Krier fb9238b8bf Add digits mixin
issue10596
review338511002
2021-08-21 09:05:34 +02:00
Cédric Krier 9bf9b3a910 Do not build avatar if Pillow has not truetype support
issue10654
review365761002
2021-08-19 22:30:51 +02:00
Cédric Krier d9d36d476a Clear the cache only if modules are updated
issue10646
review365731002
2021-08-19 22:29:09 +02:00
Cédric Krier a47b7e5a70 Do not use authorisation for repr if it is None
issue10642
review342871005
2021-08-19 22:25:24 +02:00
Cédric Krier 1dcedc1c98 Clear transaction cache in test_read_last_translation
issue10630
2021-08-18 13:07:55 +02:00
Cédric Krier fa1b09c05e Remove delete attribute and use defaultdict from Transaction
issue10630
review369351002
2021-08-16 23:11:38 +02:00
Cédric Krier 5bf6b08355 Ensure to read only validated records
The list of records can be part of a large browse list which may be also read
when accessing attribute of the record. To prevent that we must use a new
browsing list.

issue10632
review334631003
2021-08-16 23:07:06 +02:00
Cédric Krier 0cca1c8d57 Use subquery when searching for similarity on translated Char
issue10624
review363621002
2021-08-12 18:38:15 +02:00
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
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
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