跳至內容
選單
此問題已被標幟
1 回覆
1296 瀏覽次數

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


頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
8月 25
232
0
8月 25
150
0
8月 25
178
0
8月 25
199
0
8月 25
147