Cédric Krier
f6858c6530
Include the minimal input/output quantity the same day as input in the average quantity for the turnover
...
Such quantity should be accounted as staying 1 day in the warehouse otherwise
we may have more quantity leaving than the average stock.
Closes #15014
(grafted from 6267ce266fcf8e9494eb277996e948c9dfe21d1d)
--HG--
branch : 8.0
2026-09-24 09:27:50 +02:00
Cédric Krier
57e8b983b7
Use binary version of psycopg for tests
...
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)
--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
Cédric Krier
1ef1c0b79d
Increase version number
...
--HG--
branch : 8.0
2026-07-15 18:45:37 +02:00
Cédric Krier
d07d7822ba
Prepare release stock-8.0.3
...
--HG--
branch : 8.0
2026-07-15 18:45:21 +02:00
Cédric Krier
ebed93c61a
Define index using COALESCE for nullable Char fields
...
Closes #14909
(grafted from 525198c97acdd19820d581411b3af0f5bb6e4237)
--HG--
branch : 8.0
2026-07-14 21:14:05 +02:00
Cédric Krier
ba0cbf582b
Increase version number
...
--HG--
branch : 8.0
2026-07-01 22:48:55 +02:00
Cédric Krier
43d619edb6
Prepare release stock-8.0.2
...
--HG--
branch : 8.0
2026-07-01 22:48:44 +02:00
Cédric Krier
6c8cb152c6
Aggregate product by locations before applying filter when searching by quantity
...
Closes #14887
(grafted from d7abce5cd10ccba9852f26c7b1aef465e20b4585)
--HG--
branch : 8.0
2026-06-11 15:30:11 +02:00
Cédric Krier
8bd63e1306
Increase version number
...
--HG--
branch : 8.0
2026-06-02 19:03:59 +02:00
Cédric Krier
48e30d2399
Prepare release stock-8.0.1
...
--HG--
branch : 8.0
2026-06-02 19:03:48 +02:00
Cédric Krier
87b64c2798
Delete stock moves only of deactivated products
...
Closes #14844
(grafted from fcdf3e07d2b939ffcc76edd92b791dc94ade1b8e)
--HG--
branch : 8.0
2026-05-19 10:53:56 +02:00
Cédric Krier
35e4dac5d6
Fix computation of documentation series for odd minor version
...
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)
--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier
045421c749
Increase version number
...
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier
7f0d38f477
Prepare release 8.0.0
2026-04-20 20:10:13 +02:00
Cédric Krier
de1bb5d5d9
Update translations [skip ci]
2026-04-20 10:38:52 +02:00
Cédric Krier
53bf0cefcd
Cast to integer reporting ID calculated using SQL Power
...
Closes #14732
2026-04-09 18:24:39 +02:00
Cédric Krier
50756bfcf1
Calculate cached quantities for inactive locations when closing a stock period
...
Closes #14664
2026-03-26 09:09:00 +01:00
Cédric Krier
544e5a2b7c
Manage ethanol in stock
2026-03-28 13:40:06 +01:00
Cédric Krier
39a22ae74f
Use python3 to launch build
2026-03-26 00:32:49 +01:00
Cédric Krier
94c4f0a9e6
Rewrite coverage paths
...
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +01:00
Cédric Krier
a51a6249c0
Add attn to address
...
Closes #14633
2026-02-27 12:55:11 +01:00
Cédric Krier
be609bf3e8
Patch assignation required in test scenario to create move without shipment
2026-02-10 17:42:42 +01:00
Cédric Krier
145ce8f2f8
Make retrieval of metadata via build really quiet
2026-03-22 09:07:23 +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
Nicolas Évrard
299dd6b1c9
Update to Psycopg 3
...
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier
d3c8a8e55d
Add support for Python 3.14
2026-03-21 09:02:25 +01:00
Cédric Krier
42b0fc7061
Remove support for Python 3.9
2026-03-21 08:48:06 +01:00
Cédric Krier
e15c0b7d7a
Upgrade to pyproject using hatchling as build-system
2026-03-21 18:46:34 +01:00
Cédric Krier
3594517396
Avoid redirection in documentation links
2026-03-02 10:58:40 +01:00
Cédric Krier
af2e06bb32
Set headers and restrict to 1 worker when checking documentation link
...
This follows the wikipedia robot policy:
https://wikitech.wikimedia.org/wiki/Robot_policy
Closes #14637
2026-03-02 10:58:19 +01:00
Cédric Krier
9d871c8244
Add a group that is allowed to cancel done shipments and moves
...
Closes #13899
2026-02-11 10:41:09 +01:00
Cédric Krier
1367643bd0
Do not copy caches of stock periods
...
Closes #14639
2026-03-02 14:15:14 +01:00
Cédric Krier
9473804208
Fallback to location key from context to compute product quantity
...
The location key is used for stock reporting so when browsing from such report,
it is good that the selected location is still used for stock calculation.
2025-12-30 17:41:36 +01:00
Cédric Krier
06c2a56e69
Use Many2One field for product and variant on stock reporting
...
Closes #14456
2025-12-30 17:42:00 +01:00
Cédric Krier
7b4eb14968
Use defaultdict with float as default value when calculating product quantities
2026-01-02 12:32:43 +01:00
Cédric Krier
aefd12642a
Use always the immutable value from the cache
...
This prevents issues like #14433 from being missed.
2025-12-19 09:39:32 +01:00
Cédric Krier
122ade0b30
Increase version number
2025-12-15 21:34:54 +01:00
Cédric Krier
692810e7b8
Prepare release 7.8.0
2025-12-15 20:17:16 +01:00
Cédric Krier
954f137e65
Update translations [skip ci]
2025-12-15 18:00:12 +01:00
Cédric Krier
edb3c2c2d4
Remove warning for inventory in the future
...
Since #10591 we can skip the warning of stock move in the future for newly
created moves.
2025-11-27 16:28:21 +01:00
Cédric Krier
01fc57e89e
Replace non-ascii "N°" by "No" in report templates
...
msgmerge complaints about non-ascii msgid
2025-12-03 09:18:28 +01:00
Cédric Krier
72d637cec9
Test if field_names is None instead of empty in ModelStorage hooks
...
Closes #14382
2025-11-21 11:50:54 +01:00
Cédric Krier
6f26a9cc79
Add chat to operational documents
2025-12-02 16:01:39 +01:00
Cédric Krier
a7908ffdec
Add sale_rental module
...
Closes #13015
2025-11-23 19:20:17 +01:00
Cédric Krier
dbb0abe49a
Include origin name in stock move record name
...
Closes #14359
2025-11-14 09:05:02 +01:00
Cédric Krier
fe44ee1a60
Remove outdated comment about lock when closing stock period
...
Since c8771e45b861 the lock is taken at the transaction start so the calculated
stock quantities are always correct.
2025-11-29 14:59:43 +01:00
Cédric Krier
b0fe13a8e6
Add test scenario for stock period
2025-11-29 14:57:15 +01:00
Sergi Almacellas Abellana
d5482c3947
Include assigned move in close period error message
2025-11-29 14:56:44 +01:00
Sergi Almacellas Abellana
31a8acf935
Limit closed period assigned moves search
2025-09-04 09:08:41 +02:00