跳至內容
選單
此問題已被標幟
1 回覆
2705 瀏覽次數
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
2366
0
2月 22
1553
0
1月 22
1751
3
9月 25
254
1
9月 25
302