Commit Graph
10 Commits
Author SHA1 Message Date
Cédric Krier 4600deeeea Clear company on the lot sequence in production scenario
Since 9191fe4b4da4, the sequence can not be restricted to a company.

Closes #13257
(grafted from 04fe7c297ff324c623d73fe852fd3403bdc74199)

--HG--
branch : 7.0
2024-05-14 08:56:28 +02:00
Cédric Krier cd9dcfd84c Rename Uom to Unit for bill of material
Closes #2221
2023-08-20 01:39:36 +02:00
Cédric Krier b494a58475 Rename Uom to Unit for production
Closes #2221
2023-08-19 15:22:30 +02:00
Sergi Almacellas Abellana cd81e8e793 Use on_change method to set production's planned_start_date 2023-07-06 10:07:31 +02:00
Cédric Krier 721ae8dc69 Rename product lead times to production lead times
#12133
2023-03-13 22:53:44 +01:00
Cédric Krier ee5cb27962 Create lot for output product when needed
When the output product has a sequence and a lot is required, we create a new
lot to set on the output move.

Closes #11923
2023-01-24 10:53:23 +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 1df14f932b Factorize explode bom to use depends
Closes #11916
2022-12-26 13:22:06 +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 eae906615b Prepare migration to monorepo 2022-12-16 17:29:25 +01:00