Commit Graph
5 Commits
Author SHA1 Message Date
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 5904eabe4a Use correct name for test scenario of sale shipment grouping 2023-01-14 17:11:07 +01:00
Cédric Krier d2664f898d Test shipment grouping with return for #11998 2023-01-14 17:10:40 +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 c0728ad15d Prepare migration to monorepo 2022-12-16 15:51:29 +01:00