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
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
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
cf1ce07e9b
Fix parameter name for check_modification in the documentation
2025-07-31 23:47:59 +02:00
Nicolas Évrard
6daccef092
Clarify the documentation about digits
2025-10-09 12:36:54 +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
Cédric Krier
15f2650954
Redact sensitive values from the log
...
Closes #14220
2025-09-09 15:17:31 +02:00
Cédric Krier
16cbeeee2c
Use rfc role in documentation and ignore checking datatracker.ietf.org links
2025-05-03 17:10:58 +02:00
Cédric Krier
b0f7d45254
Manage readonly wizard
...
readonly wizards do not check for write access on the active model.
Closes #13989
2025-04-29 09:31:05 +02:00
Cédric Krier
0ad9570070
Document preferred languages order for get_email
2025-05-23 17:13:37 +02:00
Cédric Krier
301982d6f2
Add pair/unpair in tools
2025-04-30 15:12:49 +02:00
Cédric Krier
e45be331a7
Lock records on transaction start
...
Same as c8771e45b861 but when locking only records instead of the table.
Closes #13943
2025-03-27 13:39:04 +01:00
Cédric Krier
854562ad6e
Add default value to user in set_user testing tool
2025-03-30 15:21:11 +02:00
Cédric Krier
fff5663ae1
Add DecimalNull as tools
2025-04-08 09:59:33 +02:00
Nicolas Évrard
26f7c7142b
Add process local objects ala threading.local
2025-02-14 17:16:55 +01:00
Nicolas Évrard
cd5a54cb2f
Delete warnings at the end of the Transaction
...
Closes #13686
2025-04-10 19:21:50 +02:00
Cédric Krier
45122b77c0
Add on_write to ModelStorage
2025-02-24 13:39:52 +01:00
Cédric Krier
e9fe355663
Add on_delete to ModelStorage
2025-02-19 17:52:22 +01:00
Cédric Krier
4b7b5a4739
Add check_modification to ModelStorage
2025-03-01 16:10:13 +01:00
Cédric Krier
72c96ec778
Add on_modification to ModelStorage
2025-02-19 23:01:52 +01:00
Cédric Krier
defc4c46c5
Add preprocess_values to ModelStorage
2025-02-24 12:58:37 +01:00
Cédric Krier
121c279f47
Add before/after methods for CWRD methods of ModelStorage
2025-04-05 16:33:40 +02:00
Cédric Krier
027384000b
Add compute fields to ModelStorage
2025-01-15 21:37:11 +01:00
Cédric Krier
093fb115ff
Add color widget to form view
...
Closes #13800
2025-01-08 16:53:34 +01:00
Cédric Krier
1edefbeae5
Limit access to database from the same series as the server
...
The last series to which the database was updated is stored in
ir.configuration.
With this information, the list of databases is filtered for the same series.
Remote access to a database is restricted to databases available in the list.
Closes #13791
2025-01-06 15:54:02 +01:00
Cédric Krier
611198f9f1
Add size limit for RPC arguments
...
Closes #10301
2024-11-28 09:31:43 +01:00
Cédric Krier
77bb47a3a4
Make field_names optional in Model.default_get
2024-12-26 16:08:18 +01:00
Cédric Krier
81f674082b
Remove check_xml_record from ModelStorage
2024-11-11 15:19:51 +01:00
Cédric Krier
ee79c18d80
Support TEST_PYTHONWARNINGS in doctest
...
We restore the doctest_setup to setup the python warnings based on
TEST_PYTHONWARNINGS.
2024-12-15 14:45:15 +01:00
Cédric Krier
c03dff9352
Support instances as default value
...
Closes #13694
2024-11-20 12:08:20 +01:00
Cédric Krier
b26ff9757e
Add metadata columns to ModelSQL with table query
...
Closes #9414
2024-10-25 00:24:39 +02:00
Cédric Krier
16da4be04f
Add report data to header_key
...
Closes #13627
2024-10-24 18:11:42 +02:00
Cédric Krier
6cff740d3c
Validate integer digits
...
Closes #12975
2024-10-20 18:22:26 +02:00
Cédric Krier
cd0bcf8ff5
Document gettext and ngettext methods added to the report context
...
They were added by 9403850c8ead but without documentation.
2024-12-01 19:06:26 +01:00
Cédric Krier
26930ddda9
Add msg_gettext and msg_ngettext to Report context
2024-12-01 19:04:56 +01:00
Cédric Krier
ffcf5a5225
Support plural translation of messages
2024-10-16 19:57:43 +02: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
17fb714e38
Document that getter function is called with the record context
2024-08-17 17:48:12 +02:00
Cédric Krier
c8caf77630
Document _transaction, _user and _context attributes of ModelStorage
...
They are private attributes to avoid collision with fields but they should be
indeed part of the public API.
2024-08-17 17:47:33 +02:00
Cédric Krier
f1ce119ad4
Document the attributes on the fields
2024-09-30 19:12:04 +02:00
Cédric Krier
ca61f7cc7b
Support range functions and operators in EXCLUDE constraint
...
Closes #7471
2024-10-10 00:34:53 +02:00
Cédric Krier
530b55ac42
Add sparkline chart tools
...
Closes #13548
2024-09-29 12:36:21 +02:00
Cédric Krier
d83bcc784c
Add setup methods to activate_modules
2024-09-10 18:01:29 +02:00
Nicolas Évrard
afd48ab128
Add method to the backend to estimate number of rows
...
Such that each backend can rely on its own statistics.
Closes #13118
2024-09-28 18:02:31 +02:00
Cédric Krier
8f4e926c81
Add setup indexes method to ModelSQL
...
As __setup_indexes__ is always called on all the ModelSQL once they have been
setup in the pool, this ensures that the definition of indexes is
deterministic.
Also it provides a new hook to customize indexes after the default
definitions.
Closes #13299
2024-08-31 21:13:55 +02:00