Sale and purchase stays in processing state when all lines are cancelled
When the stock moves and the invoices have been cancelled, the order state stays in processing.
When the stock moves and the invoices have been cancelled, the order state stays in processing.