odoo/odoo#113967

Created by Logistics, Stéphane Diez (snd)
Merged at 880c0a76ac6333cbc9a8e89c865eb6caf309e0e3

Statuses:

label
odoo-dev:15.0-stock-fix_leap_year_test-snd
head
7defffc2c6111d0b3f8b707c1fa6f9924d0ac351
merged
2 years ago by Logistics, Arnold Moyaux (arm)
odoo/odoo
15.0 #113967
saas-15.2 #114026
16.0 #114029
saas-16.1 #114039
17.0
saas-17.4
18.0
saas-18.1
saas-18.2
master #114053

[FIX] stock: leap year in test

The test returns an error if today is within 365 days before the next 29th February: datetime.date(2024, 3, 1) != datetime.date(2024, 2, 29)


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr