Commit Graph
124 Commits
Author SHA1 Message Date
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
Cédric Krier b3794e1151 Fix documentation about Views menu 2024-09-18 09:44:20 +02:00
Cédric Krier 90f6084c87 Replace menu entries for view configuration by relate on model in the documentation
#12995
2024-09-18 09:43:59 +02:00
Cédric Krier 098458daa8 Move all access checks of report to check_access method 2024-09-12 16:45:34 +02:00
Cédric Krier 3b139f4cb5 Remove unnecessary parenthesis in cron documentation
Closes #13502
2024-09-12 08:36:06 +02:00
Cédric Krier 8f96e4af72 Unify email terminology
Closes #13463
2024-08-22 09:52:06 +02:00
Cédric Krier b14bcea3c1 Store last cron durations
Closes #13445
2024-08-09 10:40:18 +02:00
Cédric Krier 234daa0f99 Add cardinality option to Index Usage
Closes #13426
2024-07-27 17:49:13 +02:00
Cédric KrierandDavid Harper 67bfcde06f Update documentation of infrastructure
Co-authored-by: David Harper <dave@libateq.org>
2024-08-07 23:24:57 +02:00
Cédric Krier a080a11b3e Allow configuring TinyMCE license key 2024-06-25 09:37:31 +02:00
Sergi Almacellas Abellana 0bcfb7b427 Add warning to backup database before update 2024-07-13 12:14:29 +02:00
Cédric Krier 5823bce6cf Add tools to apply types to SQLite select queries 2024-07-04 08:45:19 +02:00
Juan Jose Pablos fbe87b99c8 Replace link to configuration document by ref to labels 2024-07-08 19:00:26 +02:00
Cédric Krier 575d1d0132 Change _changed_values and _save_values properties to method
Closes #13317
2024-06-09 19:54:52 +02:00
Cédric Krier b47072feb8 Add timeout option to with_transaction wrapper 2024-04-26 12:29:34 +02:00
Cédric Krier 5fa6e8533b Add missing documentation of ExtensionTestCase 2024-06-09 12:45:58 +02:00
Cédric Krier 36f3adca1e Add TestCase to filter warnings with TEST_PYTHONWARNINGS 2024-06-09 12:45:39 +02:00
Cédric Krier 71c4f6e185 Add configuration for report convert command
Closes #13292
2024-05-31 19:35:02 +02:00
Cédric Krier cd1c57dddf Use UPSERT to update cache 2024-06-23 08:39:41 +02:00
Cédric Krier 3369d98de2 Add option to skip tests that require network 2024-05-20 12:20:00 +02:00
Cédric Krier e98b1f2559 Add translated descriptor for Char and Text fields 2024-05-18 19:06:00 +02:00
Cédric Krier b3fd5364dc Document that _rec_name must point to a Char field 2024-05-22 15:33:55 +02:00
Juan Jose Pablos 981580a19c Add labels in configuration documentation of trytond 2024-05-04 12:37:32 +02:00
Nicolas Évrard 80ffcdea53 Read xxx2Many fields using the dotted notation
Closes #12856
2024-04-07 17:39:13 +02:00
Nicolas Évrard b973f371c8 Add a contextual read limit for related fields 2024-04-08 13:13:14 +02:00