The inclusion of the assigned move in the computation must be coherent between
quantity and delta.
Closes#12914
(grafted from 0504da7e1abba6df691519b60c4fa8ac3a54e40a)
--HG--
branch : 7.0
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
(grafted from 5ec6b6d3cd8cfffdb0f91ca350bc1ba65b5a5d8f)
--HG--
branch : 7.0
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
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
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