Skip to Content
मेन्यू
This question has been flagged
1 Reply
2694 Views
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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
फ़र॰ 22
2347
0
फ़र॰ 22
1548
0
जन॰ 22
1738
3
सित॰ 25
194
1
सित॰ 25
284