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
34686ae187
Do not include record with NULL field in nested negative clause on None
...
Since 87456218dcc9, record with NULL field is include in nested negative clause
but this should not applied if the operand is or contains None.
Closes #13911
2025-03-09 11:23:43 +01:00
Cédric Krier
881df99a24
Add configuration of select timeout for cache channels
2025-03-04 23:08:13 +01:00
Cédric Krier
203a5f3a34
Add color as type of icon and image
...
Closes #13808
2025-01-09 18:52:36 +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
Udo Spallek
b245323c30
Fix typo in alt text of documentation logo
...
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier
cac922b6ca
Replace passlib by pwdlib
...
Closes #12936
2024-12-01 14:25:26 +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
709bebe701
Use base URL as logo link and include homepage in TOC
...
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Dimitrios Josef Moustos
ed0264af94
Distinct between users and database user in setup database documentation
...
Closes #13503
2025-02-02 12:10:09 +01:00
Cédric Krier
a99a4ffff1
Fix readonly states in extend topic of module tutorial
...
The active field has no existing readonly states before the extension.
2025-02-02 10:10:32 +01:00
Hartmut Goebel
0dadb2a7d1
Fix typos and improve wording in modules topic documentation
2025-02-02 02:12:48 +01:00
Sergi Almacellas Abellana
5d9f370ad1
Explain how to extend field definition in tutorial
2025-02-01 23:42:51 +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
e656cccb7f
Replace loading attribute by visible for loading xxx2Many fields with dotted notation
...
Override the loading attribute breaks the dependencies between fields.
Such xxx2Many becoming eager loading may miss some lazy loading fields which
may break the behavior like the domain inversion (which may set the wrong
value).
Closes #13452
2024-12-28 18:24:51 +01:00
Cédric Krier
81f674082b
Remove check_xml_record from ModelStorage
2024-11-11 15:19:51 +01:00
Cédric Krier
fabb5340e9
Always synchronize XML data with database
...
Closes #13668
2024-11-11 18:24:06 +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
2b8642b6ee
Add manual migration to documentation
2024-11-24 00:35:36 +01:00
Cédric Krier
ffcf5a5225
Support plural translation of messages
2024-10-16 19:57:43 +02:00
Charles Germain
17e4d6a6f2
Clarify the need to create the opportunity.py file in the tutorial
2024-11-25 09:02:15 +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
3c6a527b56
Reorder trytond documentation
2024-11-04 09:51:15 +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
0721f62c20
Add docker installation options in the documentation
2024-10-15 13:26:28 +00:00
Cédric Krier
f9e13ddc3f
Include NULL value for negative search on nested Many2One and Reference
...
This unify the search behavior on relational fields with NULL value started
with c14f51b77b30.
Closes #13585
2024-10-11 11:24:06 +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
04f378c503
Add example for connection to PostgreSQL with OS user name
2024-09-24 10:09:46 +02:00
Cédric Krier
62b079225f
Remove $ before series in formatted document URL without base URL
2024-09-03 17:55:42 +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
Cédric Krier
b595b68b79
Support getting many sequences at once
...
Closes #13474
2024-08-25 11:02:42 +02:00
Cédric Krier
546247b635
Add sequence_nextval function to Database
2024-08-24 15:44:06 +02:00