Skip to main content

Cancellations

From Odoo to Shopify​

With Cancel in the Store When Cancelled in Odoo on, cancelling an imported order in Odoo cancels it in Shopify.

  1. Cancel the order in Odoo (Cancel on the sales order).
  2. Odoo queues a job Cancel ... in the store. Orders already cancelled or refunded in Shopify are skipped.
  3. The job checks that the order is still cancelled in Odoo before it sends anything. If you set it back to quotation in the meantime, nothing is sent.

Orders cancelled because Shopify cancelled them are never sent back. In a test copy of the database, nothing is sent.

What Shopify receives:

Shopify cancel optionValue
ReasonOther
RestockYes: the items go back to Shopify stock
RefundThe payment is refunded to the original payment method when Refund the Payment When Cancelling is on; otherwise no refund
Notify customerSend Tracking Note to the Customer
Staff noteCancelled in Odoo (SH-1001)

Shopify cancels in the background: the order shows cancelled in Shopify a few seconds after the job. When Shopify says the order is already cancelled, the job ends with Already cancelled in Shopify. Shopify refuses some cancellations, for example of orders that are already fulfilled; the job then fails with Shopify's message.

From Shopify to Odoo​

With Cancel Orders Cancelled in the Store on:

Odoo orderResult
Quotation, or confirmed and not delivered nor invoicedCancelled (draft invoices are cancelled too). Log: Order SH-1001 cancelled (cancelled in the store).
Already delivered or with a posted invoiceNot cancelled. Warning in the log and a to-do for the salesperson: create the return and the credit note by hand.

Orders cancelled before their first import are not imported at all.

Good to know​

  • The stock is restocked in Shopify; in Odoo, cancelling the order cancels its open deliveries.
  • If you want the money back to the customer and the order cancelled, turn on Refund the Payment When Cancelling, or refund first in Shopify.
Was this page helpful?