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
Nicolas Évrard
cbdad75620
Remove old-style of super() calls
2025-04-04 00:45:18 +02:00
Cédric Krier
184536c72a
Remove usage of getattr to access state view fields of wizard
2024-11-20 10:35:06 +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
148135ddd2
Compare purchase requests having product and purchase line
...
Closes #13624
2024-10-28 00:19:53 +01:00
Cédric Krier
66112f503b
Do not fetch all order points when generating purchase request
...
Instead we load only the order point of the products for which we calculate
the purchase requests.
2024-08-26 16:39:06 +02:00
Cédric Krier
f409e36e91
Do not delete purchase request with a purchase line when supply stock
...
The design does not ensure that draft purchase request can not be linked to a
purchase line.
Closes #12974
2024-02-05 23:15:21 +01:00
Cédric Krier
3a6e278b39
Rename UOM to Unit for purchase request
...
Closes #2221
2023-08-21 09:31:27 +02:00
Cédric Krier
2f42e08090
Compare purchase request from the same company
2023-04-22 17:48:50 +02:00
Cédric Krier
182f1ede57
Do not supply stock with user without company
...
Closes #11501
2023-01-15 00:19:15 +01:00
Cédric Krier
df6a57f2a8
Prepare migration to monorepo
2022-12-16 15:01:00 +01:00