Cédric Krier
35a7e696cf
Add ModelAccessProxy
...
#14907
(grafted from dafef28a1d65032628809acbfa130a2f2e74474f)
--HG--
branch : 8.0
2026-06-25 13:31:30 +02:00
Cédric Krier
96eb7071f7
Update module tutorial to match with the cookiecutter output
...
(grafted from e33b58f3d6a1bd6445853b88c2d26ff5e8a61c9c)
--HG--
branch : 8.0
2026-06-18 19:11:04 +02:00
Cédric Krier
35e4dac5d6
Fix computation of documentation series for odd minor version
...
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)
--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier
0e25c97f45
Add REST API
2026-04-04 23:03:18 +02:00
Cédric Krier
dbe5c74cb6
Add rpc suffix to URL for RPC call
2023-11-12 23:43:19 +01:00
Cédric Krier
84c47a0433
Support mounting application under a prefix
...
Closes #9239
2023-11-12 23:44:43 +01:00
Cédric Krier
ea7a417d4a
Add documentation about notification
2025-12-13 17:21:23 +01:00
Cédric Krier
4bbe1e263c
Fix documentation label for strict sequence
2026-01-13 15:41:04 +01:00
Nicolas Évrard
7c0d6a295a
Allow to specify some XML fields value as relative to the subdirectory path
2026-02-24 22:39:38 +01:00
Nicolas Évrard
652f497110
Include subdirectories tryton.cfg when activating a module
...
Closes #14625
2026-02-28 00:16:45 +01:00
Nicolas Évrard
b403fe8f39
Use a cookie to store the session token
...
Closes #14412
2026-03-30 16:24:44 +02:00
Cédric Krier
65342e9877
Add contextual `_log` to force logging events
...
Closes #14712
2026-03-26 10:56:59 +01:00
Cédric Krier
03655a335a
Add notify_user to ModelStorage
...
Closes #14667
2026-03-11 10:01:51 +01:00
Cédric Krier
27dff955f1
Add missing log_records attribute to Transaction documentation
2026-03-11 10:01:22 +01:00
Cédric Krier
39a22ae74f
Use python3 to launch build
2026-03-26 00:32:49 +01:00
Nicolas Évrard
475e68df76
Remove the files of Binary fields from the Filestore
...
Closes #13861
2026-03-24 09:30:17 +01:00
Nicolas Évrard
b44c004825
Add deletion on FileStore
...
We're identifying each file in the filestore with a UUID4 in order to avoid
collisions. It has the drawback that we will store twice the same file but on
the other hand we can now remove each file from the store as there is no more
collision.
In order to identify files named previously we're using textual representation
of the UUID with the hyphens. Previous IDs do not have hyphens.
2025-01-09 18:53:09 +01:00
Cédric Krier
145ce8f2f8
Make retrieval of metadata via build really quiet
2026-03-22 09:07:23 +01:00
Cédric Krier
5310b00496
Remove grouped_slice per IN_MAX
...
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.
The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Nicolas Évrard
299dd6b1c9
Update to Psycopg 3
...
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier
e15c0b7d7a
Upgrade to pyproject using hatchling as build-system
2026-03-21 18:46:34 +01:00
Cédric Krier
33856ac2a1
Add model attribute to table handler
2026-03-14 18:12:02 +01:00
Cédric Krier
2b626f1708
Document history attribute of table handler
2026-03-14 18:11:34 +01:00
Cédric Krier
57aabfb14e
Support Function field without getter but SQL expression
...
Closes #4369
2026-01-30 18:06:45 +01:00
Cédric Krier
52326c4b08
Allow customizing SQL expression of field
2026-01-29 15:24:10 +01:00
Cédric Krier
dfe58aa125
Use tables and Model as arguments for sql_column of the Field
2026-01-29 12:42:56 +01:00
Cédric Krier
d7b80ff2ee
Add support for basic authentication for user application
...
Closes #14528
2026-01-21 14:55:49 +01:00
Cédric Krier
e7fa8e4461
Add environment variable to enable development mode
...
Closes #14530
2026-01-21 19:12:34 +01:00
Cédric Krier
2989e66585
Lazy import html2text and weasyprint
2025-12-11 17:57:01 +01:00
Cédric Krier
b034e23e91
Support the conversion of MJML reports to HTML
...
Closes #12597
2025-12-11 16:31:51 +01:00
Cédric Krier
1623885d46
Add options to trytond.config
...
Closes #14483
2026-01-13 20:08:43 +01:00
Cédric Krier
aefd12642a
Use always the immutable value from the cache
...
This prevents issues like #14433 from being missed.
2025-12-19 09:39:32 +01:00
Cédric Krier
476065cf11
Use creation position to format warning key for new records
...
The opposite position in the creation order is used instead of the id (which is
not stable over transaction retries) to format the warning key when the record
has been created during the transaction.
This ensures that the formatting of the warning key is stable over transaction
retries.
Closes #10591
2025-11-27 16:26:20 +01:00
Cédric Krier
98941a588e
Allow users to subscribe to notification cron jobs
...
Closes #13988
2025-12-02 19:24:36 +01:00
Nicolas Évrard
fa19c6226f
Notify subscribed users of new message in chat
2025-12-02 18:11:10 +01:00
Cédric Krier
4dce4ec167
Add documentation for chat
2025-12-02 14:38:58 +01:00
Nicolas Évrard
929b3545cd
Add support for materializing ModelSQL based on a table query
2025-12-02 00:12:08 +01:00
Cédric Krier
518e5f3f69
Store only immutable structure or make a shallow copy in MemoryCache
...
Closes #14347
2025-11-03 23:08:31 +01:00
Cédric Krier
b7ee37bb0a
Replace clean_days with log_size in the cron configuration
...
Closes #14319
2025-10-27 19:20:23 +01:00
Nicolas Évrard
f70d515905
Add a clear cache method to the Database
...
ExtensionTestCase uses this new method to clear all the caches of the Database.
2025-10-28 10:57:07 +01:00
Cédric Krier
00e52f4a43
Update anchor for if-then-else link on Wikipedia
...
Closes #14267
2025-10-01 08:45:36 +02:00
Cédric Krier
cf1ce07e9b
Fix parameter name for check_modification in the documentation
2025-07-31 23:47:59 +02:00
Nicolas Évrard
58428d09b9
Do not allow translations to be set or exported unless the default language is English
2025-10-24 10:22:38 +02:00
Nicolas Évrard
6daccef092
Clarify the documentation about digits
2025-10-09 12:36:54 +02:00
Cédric Krier
ecfad8ea81
Return the closest language instance for the code
...
When the language code is provided by an external source, a best effort
strategy must be used to always return a language.
Closes #14258
2025-09-26 08:45:49 +02:00
Cédric Krier
9f95b28eaf
Add sequence_reorder to model order
...
Closes #14251
2025-09-23 16:04:29 +02:00
Nicolas Évrard
818f26253a
Remove has_window_functions on Database
2025-10-04 22:45:53 +02: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
Nicolas Évrard
a72adf0fdc
Restrict sessions to the client's IP address
...
Closes #13909
2025-10-05 17:17:14 +02:00
Cédric Krier
95456d6f92
Use tryton.cfg to register in the Pool
2025-09-18 16:42:29 +02:00