Commit Graph
76 Commits
Author SHA1 Message Date
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
Cédric Krier cd3395b233 Add email constructor from message 2024-02-21 21:43:50 +01:00
Cédric Krier 3cc0bb6c15 Add send_message methods to sendmail
Closes #13048
2024-02-21 21:38:53 +01:00
Cédric Krier 5448a91bf7 Store model on ir.model.button 2024-04-06 10:48:45 +02:00
Cédric Krier 0dffe1087c Add fmany2one field
Closes #13051
2024-02-22 17:36:51 +01:00
Cédric Krier e0f11efc94 Allow creation of foreign key on non primary key 2024-02-22 19:08:43 +01:00
Cédric Krier ec5a00c82e Make pool initialization atomic
An instance of pool is created per thread and it stores a reference to the
current pool values.
When the pool is initialized, a temporary reference is set on the instance so
only the values for this thread is modified. Once the initialization is
complete, the new pool value replace the global values.
Each instances is refreshed with the global values after the pool has been
stopped.

Closes #11401
2024-03-06 18:28:38 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier c6f095c760 Do not copy readonly relational fields
Closes #12849
2023-12-20 13:56:57 +01:00
Cédric Krier e5a6aba9bb Support list of single value in sortable_values tools 2024-01-15 20:31:33 +01:00
Nicolas Évrard 75d1af9f84 Allow creating index concurrently 2023-09-27 17:20:20 +02:00
Cédric Krier 93980a94b8 Find module paths using entry points
Closes #12900
2024-01-05 19:57:49 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier 9ad54faa98 Update documentation to use python3 instead of python 2023-11-20 00:04:08 +01:00
Nicolas Évrard 2f2f15e49b Create indexes on the history table
Closes #12686
2023-10-30 16:37:40 +01:00
Cédric Krier 2cc7faec53 Update tutorial to use PEP517 when installing in editable mode
Closes #12701
2023-11-20 00:00:26 +01:00
Sergi Almacellas Abellana afa4a20176 Make record rules documentation more explicit 2023-11-23 15:04:06 +01:00
Nicolas Évrard a42cb450f7 Add timeout parameter on RPC calls
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier cfde98e54a Backed out changeset fc478f7d7004 2023-10-28 00:16:32 +02:00
Nicolas Évrard a09de147a6 Add timeout parameter on RPC calls
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier 420e0a48d6 Add pairwise_longest tools 2023-10-18 23:11:07 +02:00
Cédric Krier ccf653da1d Support create record from autocomplete with default values 2023-09-26 23:45:07 +02:00
Cédric Krier d8530fc867 Support default value from context 2023-09-25 17:53:23 +02:00
Cédric Krier 92b3416d79 Add autocomplete method on ModelView 2023-09-25 17:22:40 +02:00
Cédric Krier a3877cadb3 Add likify tools 2023-09-25 16:42:04 +02:00
Nicolas Évrard d1d2437daf Use multiple jobs to dump and restore a test database 2023-09-16 12:36:43 +02:00
Nicolas Évrard c32c645483 Support database cache as template for tests on PostgreSQL 2023-10-02 11:16:27 +02:00
Cédric Krier ea98511139 Add route test case 2023-09-12 18:52:14 +02:00
Cédric Krier 208ac87281 Add support for scanning code 2023-07-04 17:50:50 +02:00
Cédric Krier 9aa4a8583b Add decorator on RPC 2023-08-16 10:39:16 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier e862ca836a Run doc tests with different globals
Closes #12441
2023-07-29 15:11:05 +02:00
David Harper f52d70e5ba Add res module documentation
Closes #9793
2023-08-13 17:08:48 +02:00
Nicolas Évrard 6893789faa Rename function with_inactive_records in documentation
The commit e6c72b1f23e7 added the function but the documentation used another
name
2023-06-13 13:39:22 +02:00
Cédric Krier 7c6137f070 Document active test in ModelStorage 2023-07-05 12:57:15 +02:00
Cédric Krier f4210f8143 Document active field part of DeactivableMixin 2023-07-05 12:36:46 +02:00
Cédric Krier a40be04d82 Document on_change methods under ModelView instead of Model 2023-07-04 18:39:28 +02:00
Nicolas Évrard 0918f6f425 Allow to use width attribute in button columns of tree views 2023-07-05 10:08:42 +02:00
Cédric Krier 66f10aed84 Add email validation tools 2023-04-29 18:52:40 +02:00
Cédric Krier dd2b2fbb23 Add sum_tree helper 2023-06-04 09:30:39 +02:00
Cédric Krier 5335a2022d Convert sum attribute into boolean 2023-05-06 14:25:22 +02:00
Nicolas Évrard 4f28d7ac39 Shorten arguments when logging 2023-05-03 23:13:42 +02:00
Cédric Krier b4d78247cf Support returning more than one nextid 2023-04-22 11:05:23 +02:00
Cédric Krier 17bbce3919 Log events for ModelStorage
It logs by default:
 - the write and delete done directly by the users
 - the execution of a button
 - the execution of wizard state that has modified the database
 - the workflow transition to a new state
2023-02-08 19:03:29 +01:00
Cédric Krier 1aa9226401 Publish convert_from method
Closes #9007
2023-03-23 00:33:22 +01:00
Cédric Krier b719d8aed1 Add rstcheck 2023-03-15 16:33:19 +01:00
Cédric Krier be8d6807ba Set login name as default email from address 2023-03-10 13:10:08 +01:00
Cédric Krier 0993aff5dc Add sort method to order like ModelStorage.search 2023-02-22 17:01:46 +01:00
Cédric Krier 9c1486a8d1 Document that no triggers are called with restore history 2023-02-20 23:06:20 +01:00