Hello,
I have a Sale order in Done state, I would like to set it to Draft state. I'll describe precisely my problem :
I invoiced this sale Order, and then validated the Invoice, then I canceled the Invoice ( Thanks to account_cancel Module), then I set the Invoice to Draft State, after this I deleted the invoice.
In the Sale Order related, I had it in state Invoicing incident, I clicked on Don't consider the incident, then the sale order switched to Done state.
I know this is a normal behaviour, but the purpose now is how to set a sale order in done state to draft state ?
Possible Solution :
I know that to set a sale order to draft state, I should cancel the delivery order related to it, but the delivery order is in state delivered, if only I knew how to set a delivery order from delivered state to draft or cancel state, it would be the key to this problem.