コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2707 ビュー
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'
アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
2月 22
2370
0
2月 22
1553
0
1月 22
1752
3
9月 25
263
1
9月 25
305