Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1300 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ส.ค. 25
277
0
ส.ค. 25
194
0
ส.ค. 25
201
0
ส.ค. 25
218
0
ส.ค. 25
170