Commit Graph
100 Commits
Author SHA1 Message Date
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Nicolas Évrard f5d2b60d08 Synchronize sale_promotion_coupon_payment's tox.ini 2023-01-29 17:44:21 +01:00
Nicolas Évrard d6b8e9671b Set the fallback application name when connecting to postgres
Closes #12074
2023-02-20 23:22:39 +01:00
Nicolas Évrard c17cf5243f Keep using _database_cache if the specific cache hasn't been reset
Closes #12079
2023-02-14 13:28:36 +01:00
Nicolas Évrard 300d9a1b7f Robustly handle config files syntax errors
Closes #12011
Closes #2943
2023-02-06 18:51:38 +01:00
Nicolas Évrard a2662386c3 Save moves before reconciling the lines
The previous organization of the code made it less efficient to save the move
before reconciling the lines which should the logical order.
2023-01-29 01:08:22 +01:00
Nicolas Évrard ab020a78e8 Reconcile the zero lines after saving moves 2023-01-23 17:05:55 +01:00
Nicolas Évrard 967a41f467 Add global and local set of ignored context keys
Closes #11234
2023-02-06 18:40:00 +01:00
Nicolas Évrard 5414f334e8 Restore tree sates on List Form
Closes #12023
2023-01-19 19:03:42 +01:00
Nicolas Évrard 7d4a991104 Do record (pre)validation and saving on selection change for list-form views
Closes #12025
2023-01-29 00:56:28 +01:00
Nicolas Évrard 0d679effe2 Warn when cancelling a move related to an invoice
Closes #4981
2023-02-02 18:50:26 +01:00
Nicolas Évrard 556918f7c5 Check that fields used to order are sortable
Closes #11747
2023-01-16 11:12:29 +01:00
Nicolas Évrard 5ea2598611 Call set_modified on record in set_client
403bc7a95b0a introduced set_modified as a record method but not a field one.
It was unfortunately called on the field in set_client in the same commit.

Closes #12061
2023-02-01 17:54:26 +01:00
Nicolas Évrard 1fdfe31b1e Get directly the string value of Selection fields in non editable views
Closes #10331
2023-01-29 01:12:24 +01:00
Nicolas Évrard e1361ddac3 Use arrow functions in Sao.Window.Form.response 2023-01-26 22:46:53 +01:00
Nicolas Évrard 45043d706e Use a promise based API for Record.pre_validate()
Closes #12039
2023-01-25 15:14:26 +01:00
Nicolas Évrard 51414701ae Use EXISTS for search on O2M with many records
Closes #11934
2022-12-25 18:13:49 +01:00
Nicolas Évrard 4f5c0ae3fa Remove target_search on Many2One 2022-12-22 02:43:16 +01:00
Nicolas Évrard 3632c51c18 Manage domain on id in single value list as unique
Closes #11953
2023-01-02 11:49:34 +01:00
Nicolas Évrard 8d3d4c79ff Do not validate domain on empty fields unless they're required 2022-12-21 22:29:24 +01:00
Nicolas Évrard 4326581801 Unconnect signals when removing dict entries
Closes #11872
2022-12-26 01:27:36 +01:00
Nicolas Évrard 19f8faa28b Move save of M2O from _save_values to save()
Closes #11381
2023-01-06 17:19:45 +01:00
Nicolas Évrard 2da82e2b94 Accrue and allocate rounding errors when there are multiple taxes
Closes #11317
2022-12-25 18:55:17 +01:00
Nicolas Évrard 458f6b0327 Allow rounding with opposite method 2022-12-25 18:54:30 +01:00
Nicolas Évrard 7cbee84611 Skip on_change_parent on already saved account
Closes #11871
2023-01-02 22:00:47 +01:00
Nicolas Évrard 2b6801f02c Use record from group when setting O2M from values
Closes #11951
2022-12-23 23:54:21 +01:00
Nicolas Évrard 37ebcfc633 Use left part of domain leaf in unique_value return value
The left part must be returned because when the value is unique we also use the
name of field for further checks

Closes #11952
2022-12-20 13:37:06 +01:00
Nicolas Évrard ea003117b3 Do not filter selection for multiselection fields
issue11857
review437551003
2022-11-08 21:54:01 +01:00
Nicolas Évrard 19210841bb Do not filter selection for multiselection fields
issue11857
review437551003
2022-11-08 21:54:01 +01:00
Nicolas Évrard 88e8d42f27 Add configuration entries for unaccent and similarity functions
issue10851
review370001002
2022-10-09 19:58:51 +02:00
Nicolas Évrard 7d9c755d56 Eager load at least 1/10 of the client limit
issue10043
review336131003
2022-10-03 00:22:51 +02:00
Nicolas Évrard 2570a63331 Eager load at least 1/10 of the client limit
issue10043
review336131003
2022-10-03 00:22:51 +02:00
Nicolas Évrard 1793415b7d Schedule actions using server timezone
issue9436
review423091003
2022-10-03 00:20:49 +02:00
Nicolas Évrard 4dd1c0c222 Clear private caches when dropping database
issue11744
review413601003
2022-10-03 00:15:12 +02:00
Nicolas Évrard d7da8108b6 Handle multiple transactions in CAMT054 Ntry tags
issue11672
review413471003
2022-10-03 00:13:39 +02:00
Nicolas Évrard 3fd4d12640 Extend scenario to check amount_to_pay
issue10440
review351971032
2022-10-03 00:11:05 +02:00
Nicolas Évrard 1e24e490b1 Reset less often the user sessions
issue10202
review341741060
2022-10-03 00:06:41 +02:00
Nicolas Évrard e46d5dbfc6 Catch get_connection errors in Cache listener
issue11563
review411271003
2022-09-17 19:00:48 +02:00
Nicolas Évrard bd892be6b0 Select the clicked line when activating a button in list view
issue11212
review433141003
2022-09-17 18:58:55 +02:00
Nicolas Évrard 7e4150ca3f Read at most cache size or IN_MAX records from the database
issue11468
review427111003
2022-05-10 15:24:37 +02:00
Nicolas Évrard 246fe75b95 Load group fields before setting the current record
issue11448
review423081003
2022-05-09 16:13:31 +02:00
Nicolas Évrard 2bac806bbd Remove python2 compatibility code from fields.Binary
issue11467
review411111003
2022-05-06 18:18:01 +02:00
Nicolas Évrard 94eb281fb6 Remove user login and user preferences cache
The user login cache could result in an error when using trytond in a
multiprocess environment due to a delay in the broadcast of the cache
invalidation.

The user preferences cache was there only to set the context when validating
the records but it is useless since the context is now set from the
transaction.

review401251002
issue11430
2022-04-29 17:14:27 +02:00
Nicolas Évrard 769c997024 Remove user login and user preferences cache
The user login cache could result in an error when using trytond in a
multiprocess environment due to a delay in the broadcast of the cache
invalidation.

The user preferences cache was there only to set the context when validating
the records but it is useless since the context is now set from the
transaction.

review401251002
issue11430
2022-04-29 17:14:27 +02:00
Nicolas Évrard 2f4f8aa9dd Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:54 +02:00
Nicolas Évrard 86534e2116 Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:54 +02:00
Nicolas Évrard 600f22f43a Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:53 +02:00
Nicolas Évrard b002258d17 Add delegated amount on lines to pay
issue10345
review346191002
2022-04-11 19:19:54 +02:00
Nicolas Évrard 1d11822903 Add delegated amount on lines to pay
issue10345
review346191002
2022-04-11 19:19:54 +02:00
Nicolas Évrard cf82bbea2a Add delegated amount on lines to pay
issue10345
review346191002
2022-04-11 19:19:54 +02:00
Nicolas Évrard 5ade55babe Use a file in the user directory for stdout and stderr on Windows
issue11390
review397911002
2022-04-11 16:37:34 +02:00
Nicolas Évrard a8538a03e1 Support _write, _delete and _timestamp values when set from default value
issue11012
review372751002
2022-04-11 12:48:41 +02:00
Nicolas Évrard 02d7d1fad3 Support _write, _delete and _timestamp values when set from default value
issue11012
review372751002
2022-04-11 12:48:41 +02:00
Nicolas Évrard 0e76db05e7 Support _write, _delete and _timestamp values when set from default value
issue11012
review372751002
2022-04-11 12:48:41 +02:00
Nicolas Évrard bbeea0e473 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 2e88f7d17a Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 3aa7ec5e1f Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 404001af0d Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard a180feffd6 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 0cd616eb4e Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard bfd765f6ac Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 2539d4aea6 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 8a2ba0851e Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard f465d9a883 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 57b2bfa5ce Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 16ace37326 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard b8e9f078dd Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard c5a31bf4b1 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 0ae7c7a600 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 612716c17d Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 23fba6f572 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 5d531ec2d9 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 98e22bf953 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 7f28c5b870 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 8299218e21 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 342d1dce8b Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 3ef1614983 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 05d3e45a1d Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard f7c64e7bd5 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard c0df51a994 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 6f82dfa4d3 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 3c28e14a05 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard b729a92219 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard e080b0b57f Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 21d949ca79 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 4207e8d337 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 033ad32314 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 86a084d6cb Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 32a47b5e49 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard a87b4639ab Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard a2b80e731d Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 2175d681c9 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard c55e171b89 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 59961d8ad8 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard d1d719b558 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard f8c91847b3 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard 742dad984e Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard c9a46ce8f9 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard a8af83fc4e Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Nicolas Évrard e6dbe68769 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00