Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2722 Ansichten
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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Feb. 22
2378
0
Feb. 22
1556
0
Jan. 22
1758
4
Sept. 25
96
3
Sept. 25
158