Commit Graph
7 Commits
Author SHA1 Message Date
Cédric Krier eb4694b901 Add stock_first option to supply_on_sale
Closes #11955
2023-02-26 10:41:40 +01:00
Cédric Krier d90aeed235 Change supply_on_sale into selection 2022-12-21 23:52:51 +01:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Cédric Krier b0b4ff7592 Notify when product is supplied on sale and has purchase order point
Closes #11969
2022-12-29 13:05:20 +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 8a5e7dfedd Prepare migration to monorepo 2022-12-16 15:41:31 +01:00