Sales Invoice Error : AttributeError : 'SalesInvoice' Object has no attribute 'is_invalid'

Hello everyone,

I raised a Sales Invoice and when i was trying to submit the Sales invoice then i got this error message, AttributeError: ‘SalesInvoice’ Object has no attribute ‘is_invalid’ . Please how can i resove this error ?.

Did you ever get this resolved?