Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier f0f0d9b7f1 Update precision of cost price test from modification under stock continental accounting
Since 0809f9f56c4e the modified cost price is rounded with the price
precision.

Closes #13041
(grafted from 10c6c8773040b6b6035753fd6c2f91efbcc094d9)

--HG--
branch : 7.0
2024-04-01 14:04:52 +02:00
Cédric Krier 606e1cf2d6 Update scenario to use supply on sale as selection since #11955
Closes #12113
2023-02-28 23:45:34 +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
Sergi Almacellas Abellana 9d7dfddb6e Run isort on all files 2023-01-11 14:42:13 +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 9e50bcb986 Prepare migration to monorepo 2022-12-16 19:55:32 +01:00