42 Commits
Author SHA1 Message Date
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 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 be609bf3e8 Patch assignation required in test scenario to create move without shipment 2026-02-10 17:42:42 +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 b0fe13a8e6 Add test scenario for stock period 2025-11-29 14:57:15 +01:00
Cédric Krier 19667f95fc Add test to check replaced field of replace party wizard 2025-10-31 12:03:02 +01:00
Cédric Krier ecc9ffc7de Add stock inventory and turnover reports 2025-10-11 10:46:03 +02:00
Cédric Krier 716b0b2ed6 Remove access right tests in scenario
The access rights are now only a configuration matter.
2025-03-30 15:22:07 +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 3283851774 Add packed state to internal shipment
Closes #9750
2024-12-22 18:23:21 +01:00
Cédric Krier 0b5d5c2322 Manage to replace products 2024-09-03 12:39:57 +02:00
Cédric Krier d3cca51abc Create company and chart of account when activate modules in test scenario 2024-09-11 19:05:12 +02:00
Cédric Krier d0c5188641 Enforce empty price on stock move when not required
Closes #13382
2024-07-19 13:14:58 +02:00
Cédric Krier 2eaf20a461 Add shipped state to customer shipment
Closes #13150
2024-05-06 00:34:03 +02:00
Cédric Krier 8666e82b80 Rename 'done' buttons to 'do' and label them as "Complete"
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier 31e3eb142c Unify shipment assignation scheduled jobs
The order shipments are assigned is important as it determines which order
will be done or not. So we must try to assign all the shipments and
productions following a defined order.

Closes #13027
2024-02-09 16:42:28 +01:00
Dimitrios Josef Moustos 6206ef7bb0 Fill shipment number only in waiting state
Closes #12905
2024-02-19 22:51:55 +01:00
Cédric Krier a961d7c205 Test if specific exception is raised in stock tests 2024-01-24 10:31:22 +01:00
Cédric Krier 86b9b16a95 Add product deactivable mixins
Those include the product and template active field in the expression when
converting domain on active field.

Closes #12955
2024-01-24 10:16:04 +01:00
Cédric Krier 4a0a6faea6 Manage assignation for customer shipment with same picking and output location
Closes #12815
2023-12-21 15:01:14 +01:00
Cédric Krier f5fc52577f Use today as planned date for assigned move
The inclusion of the assigned move in the computation must be coherent between
quantity and delta.

Closes #12914
2024-01-09 19:42:05 +01:00
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier f15e7a901f Strip trailing 0 when checking Decimal in doctest output of SQLite
Closes #12878
2023-12-30 19:45:32 +01:00
Cédric Krier 2fce630dd6 Test expected output instead of comparison in doctest 2023-12-29 19:03:10 +01:00
Cédric Krier 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier 5cda753f9f Allow assigned move of 0 quantity using view location and delete them
This is needed to be able to ignore assignation of move from a view location,
and to delete them before all moves are set to done.

Closes #12870
2023-12-26 16:00:06 +01:00
Cédric Krier fb1f515011 Add location code to record name of location
Closes #12804
2023-12-06 16:42:24 +01:00
Cédric Krier 555102f942 Display shipment state on internal shipment report
Closes #12501
2023-08-26 12:54:44 +02:00
Cédric Krier 8eb0fb4ecf Display shipment state on supplier restocking list
Closes #12501
2023-10-03 13:01:59 +02:00
Cédric Krier bf84ee262b Display shipment state on customer return restocking list
Closes #12501
2023-08-26 12:53:42 +02:00
Cédric Krier 65e1180d34 Display shipment state on picking list
Closes #12501
2023-08-26 12:52:53 +02:00
Cédric Krier 7cc2b40942 Display shipment state and warehouse country on delivery note
Closes #12501
Closes #5224
2023-08-26 12:51:51 +02:00
Cédric Krier 9b2564145e Check inventory quantity of supplier shipment
Closes #4545
2023-08-23 19:04:28 +02:00
Cédric Krier cb08557fad Rename Uom to Unit for move and inventory
Closes #2221
2023-08-22 13:18:33 +02:00
Maxime Richez f082344b66 Update origin of inventory moves for customer shipment
When synchronize inventory to outgoing moves, the origin of the inventory is
updated to point to the new corresponding outgoing move instead of the
original one.

Closes #12272
2023-08-25 16:34:06 +02:00
Maxime Richez df3aca4022 Add location and date to inventory name
Closes #12188
2023-06-09 09:15:31 +02:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Sergi Almacellas Abellana e779b8107e Add rec_name searcher on reporting models
Closes #11263
2023-01-09 14:49:16 +01:00
Cédric Krier 69a1be6404 Assign all possible shipments and productions when trying
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.

Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 4de9b6480e Prepare migration to monorepo 2022-12-16 15:33:21 +01:00