Cédric Krier
5310b00496
Remove grouped_slice per IN_MAX
...
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.
The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Cédric Krier
0da67bce21
Deprecate reduce_ids for SQL_OPERATORS['in']
...
Closes #12989 #13897
2025-12-26 10:57:44 +01:00
Cédric Krier
5b01323986
Coalesce boolean account type columns on negative clause
...
In SQL the negation of NULL is still NULL.
Closes #13967
2025-04-11 09:24:13 +02:00
Cédric Krier
275248478a
Ensure the contextual company is not None and positive before using it
...
Closes #13868
2025-03-10 23:43:49 +01:00
Cédric Krier
5aeff66acd
Use ModelStorage hooks instead of extending create/write/delete
2025-04-06 00:14:17 +02:00
Nicolas Évrard
cbdad75620
Remove old-style of super() calls
2025-04-04 00:45:18 +02:00
Cédric Krier
93b3d27117
Replace account move number by post number
...
Closes #13864
2025-02-11 12:50:48 +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
5823bce6cf
Add tools to apply types to SQLite select queries
2024-07-04 08:45:19 +02:00
Cédric Krier
36cf314066
Add company to journal-period
2024-03-14 14:04:31 +01:00
Cédric Krier
0a14c86d4e
Remove active field on journal - period
2024-03-14 13:44:29 +01:00
Maxime Richez
c511c7045e
Order journal by matching sequence when searching for match
...
Journals are ordered by default by name instead of matching sequence.
Closes #13001
2024-02-12 23:22:23 +01:00
Cédric Krier
e16444665f
Rename close state to closed
2023-06-20 10:13:56 +02:00
Adrià Tarroja Caubet
960c220329
Remove migrations previous to 5.0
...
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier
468ca93e07
Use match pattern to find journal
...
Closes #11884
2022-12-26 15:08:29 +01:00
Cédric Krier
fb14b53030
Prepare migration to monorepo
2022-12-16 21:09:21 +01:00