Commit Graph
5 Commits
Author SHA1 Message Date
Cédric Krier 595047abba Do not correct normalized delta when start date is February 29
Closes #13310
(grafted from 24e4858afe729f717eb6882837808ce479f9dfdc)

--HG--
branch : 7.0
2024-06-08 12:10:40 +02:00
Cédric Krier b6828e820d Fill unit price for purchase line in test scenario
Since 2f25450e11f6 the unit price of purchase line is not filled for the first
purchase.
2023-09-24 16:51:08 +02: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 235a55f5a8 Prepare migration to monorepo 2022-12-16 22:05:21 +01:00