Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier 67b9c34b25 Do not show empty invoiced progress on project work 2026-02-25 15:24:25 +01:00
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 b0f7d45254 Manage readonly wizard
readonly wizards do not check for write access on the active model.

Closes #13989
2025-04-29 09:31:05 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Cédric Krier 1772caec90 Clean migrations for series before 6.0 2025-01-04 00:19:42 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Adrià Tarroja Caubet 78f0aae2e2 Use empty string for empty descriptions to construct grouping key
Closes #12952
2024-08-18 14:25:54 +02: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 4ecca33e0e Do not fail when testing if account is set on invoice line for project
If there is no product defined on the project, the call to on_change_product
for the invoice line does not set the account field.

Closes #13111
2024-04-10 17:56:20 +02:00
Cédric Krier 2721a6068a Forbid to delete work invoiced on effort 2023-05-09 14:09:14 +02:00
Cédric Krier 6f11ed963f Forbid to modify effort of work invoiced on effort 2023-05-09 14:09:39 +02:00
Cédric Krier 967de7ab42 Use sum_tree for project work fields 2023-05-11 16:18:49 +02:00
Cédric Krier b48e4966d5 Add functions and attribute to handle check access and active records
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier 63d5773766 Prepare migration to monorepo 2022-12-16 17:01:19 +01:00