21 Commits
Author SHA1 Message Date
Cédric Krier ebed93c61a Define index using COALESCE for nullable Char fields
Closes #14909
(grafted from 525198c97acdd19820d581411b3af0f5bb6e4237)

--HG--
branch : 8.0
2026-07-14 21:14:05 +02:00
Cédric Krier 071d5e4fef Add timestamp field on ModelStorage for last modified
Closes #14202
2026-02-25 09:04:03 +01:00
Cédric Krier dd2738f7b2 Do not try to add parameters to empty URL
Closes #14505
2026-01-19 12:30:41 +01:00
Cédric Krier 3cbc0652ec Remove extras require of bcrypt and html2text for web user module 2025-12-11 15:00:23 +01:00
Cédric Krier 74ee169c54 Refactor of trytond.config to add cache
This removes the need to store configuration in global variable and so make it
easier to update for example for testing.

Closes #14249
2025-10-07 08:19:57 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier 58a8663a8b Remove fallback password hash checks
The fallback was added by cc5aba3b12c7 for password hash stored before 5.0.
2024-12-01 14:31:18 +01:00
Cédric Krier cac922b6ca Replace passlib by pwdlib
Closes #12936
2024-12-01 14:25:26 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier 8f96e4af72 Unify email terminology
Closes #13463
2024-08-22 09:52:06 +02:00
Sergi Almacellas Abellana 706bd182c7 Fix typo on web user invalid email error message
Closes #13405
2024-07-19 13:48:36 +02:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier 3cc0bb6c15 Add send_message methods to sendmail
Closes #13048
2024-02-21 21:38:53 +01:00
Cédric Krier 25b8316733 Use EmailMessage to construct emails
Closes #12958
2024-01-25 16:04:05 +01:00
Cédric Krier 0d625d4010 Remove usage of set_user to skip check access
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Cédric Krier 421b0752f3 Normalize stored emails 2023-04-29 19:03:42 +02:00
Cédric Krier 66df0be6a9 Validate email fields
Closes #12215
2023-04-29 19:07:13 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier a5e36bc232 Do not copy password hash nor reset from user 2023-03-15 16:09:10 +01:00
Cédric Krier 71d5e955ab Prepare migration to monorepo 2022-12-16 14:50:46 +01:00