Cancel Sales Order errors
Orders cancelled in Zid whose Odoo sales order could not be cancelled.
Open Cancel Sales Order Error
The link opens the screen directly in the Integration Dashboard.
Common causes
The invoice is posted — Odoo does not allow cancelling a sales order with a posted invoice.
The stock picking is validated — it must be cancelled first.
Insufficient rights to cancel.
The right order to cancel in
Cancelling runs the reverse of creating: cancel the payment, then the invoice or issue a credit note, then the stock picking, then the sales order.
Use a credit note
If Odoo refuses to cancel the invoice, change Cancel Invoice Type on the Accounting tab to credit note. It is cleaner accounting and conflicts less.
Retry once the cause is fixed
Fix the cause first, in Odoo or in your settings, then press Retry on the row. Retrying without fixing the cause fails with the same message.