İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2720 Görünümler
Thrown and error whe i click "continue production" in manufactoring

return self.browse(item.id for item in sorted(self, key=key, reverse=reverse)) TypeError: '<' not supported between instances of 'datetime.datetime' and 'bool'
Avatar
Vazgeç
En İyi Yanıt

Hello,

In the function i.e when you click on continue production button, there is some code which is comparing between 2 dates and in one of them, date value there will be false. Therefore, this issue is coming. 

Add flag or if condition before you comparing the dates.

Thanks

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 22
2376
0
Şub 22
1555
0
Oca 22
1757
3
Eyl 25
285
1
Eyl 25
319