Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1369 Vues

Im trying to generate the monthly aged receivables report i normally generate but it fails with this error.  Do I have to create new dates?  Where do I do that?:

in compute_fiscalyear_dates
    date = date.replace(month=last_month, day=last_day)
ValueError: day is out of range for month


Avatar
Ignorer
Meilleure réponse

Hi,

Did you checked the values received in the date, last_month and last_day variables ? 

May be any one of those values is getting wrong, like month is getting 13 or day going to be more than 31 . Just see the values coming into those variables.


Thanks

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
sept. 25
5
4
sept. 25
1147
3
sept. 25
298
1
août 25
228
1
août 25
304