About sustem msg"TypeError: '>' not supported between instances of 'NoneType' and 'int'"

Hello all,

Does anyone know the cause why system keep pops-out below message when i’m creating a new sales order with specific items:

TypeError: ‘>’ not supported between instances of ‘NoneType’ and ‘int’

Thanks