Skip to main content
Amazon

The Post-Sales Cases button in Amazon Connector for Odoo, step by step

The Post-Sales Cases button on the sales order looks up the Amazon order ID, opens the cases screen limited to that ID and sets the defaults for a new case of the incident type. It only shows on Amazon orders.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 5 November 2026

Key facts

Module
Amazon
Versions
Odoo 17, 18, 19 and 20
Checked
in the connector's source code, version 20.0 · against the sources linked at the end
Reading time
4 min

Before you click: the order must count as an Amazon order

The Post-Sales Cases button is on the sales order view in Odoo 17, 18, 19 and 20. It is hidden when the order is not an Amazon order: the condition uses the Amazon Order indicator, which does not appear in any view.

  • Open a sales order and look for Post-Sales Cases on the form.
  • If you cannot see it, check whether the order shows the Amazon SP-API group with the Amazon SP-API Account field. That group is hidden by the same condition as the button: if it is missing too, the module does not treat the order as an Amazon order.
  • Bear in mind that the button works on one order at a time: you click it from the order form.
Diagram with the button text by Odoo language: Casos postventa in Spanish, After-Sales-Fälle in German, Dossiers après-vente in French, Casi post-vendita in Italian and Casos de pós-venda in Portuguese
Diagram made with code from the module's published translations, not an Odoo screenshot. With Odoo in English, the button is called Post-Sales Cases.
Your Odoo doesn't talk to Amazon, Temu or Shopify?
Video: Your Odoo doesn't talk to Amazon, Temu or Shopify?

When you click: what the button checks

The first thing the button does is work out the Amazon order ID. It goes through several fields on the order, one after another in a fixed order, and keeps the first one that gives it an Amazon order ID. With that ID it opens the cases screen.

  • Check that the order carries the Amazon ID in one of its fields: with the first one that provides it, the button carries on.
  • Make sure the identifier on the order is the Amazon one and not some other reference, because it is the one the button uses to filter the cases.

What it opens and what it prepares

If the ID turns up, the button opens the module's post-sales cases screen with the list limited to the cases for that Amazon ID. It also sets defaults for a new case created from that screen.

  • Check that the list only shows cases for that Amazon order: those for other IDs do not appear.
  • If you create a case from that screen, review what arrives already filled in: the account (the one in the order's Amazon SP-API Account field, or none if the order has none), the sales order, the Amazon order ID, the incident type and the title, which starts with Incidencia Amazon followed by the ID.
  • Remember these are defaults: the button's code does not change the order, it only prepares and returns the action that opens the screen.
Diagram of the Post-Sales Cases button on the sales order, available in Odoo 17, 18, 19 and 20
Diagram made with code from the module's published code, not an Odoo screenshot. The labels are in English, the original text in the code.

The same ID lookup, with no click

The method that looks up the ID is not exclusive to the button. According to the Odoo 20.0 code, it is also used by the process that syncs an order's external shipping status, which is reached without clicking anything from two scheduled tasks that are active on install:

  • Amazon SP-API - Sync dispatched FBA shipments, every 30 minutes.
  • Amazon SP-API - Sync external shipping status, every 5 minutes.

In that process, when Amazon reports the order as shipped or partially shipped, the order has a single outgoing delivery and that delivery is done, the delivery is marked as synced and its date is recorded. If it also does not yet have the Amazon order ID, the same lookup is consulted: if it finds the ID, it is added to what is written on the delivery; if not, everything else is written without an ID.

Validating pending outgoing deliveries needs more: the order status on Amazon must be shipped, and the account must have the external-shipment auto-validation option switched on. That branch also consults the lookup when the delivery does not yet have the ID.

  • If an order has the Amazon ID properly filled in, that same ID serves both the button and those tasks.
  • Remember that the button does not depend on those tasks: it opens the cases screen with the ID it finds on the order at that moment.

What to check afterwards

  • Open an Amazon order that has cases and confirm the list that opens matches its Amazon ID.
  • Open an order that is not from Amazon and confirm the button is not there.
  • On an Amazon order, check that the Amazon SP-API Account is the one you expect before creating a case, because it is the one proposed by default.
  • After creating a case from the screen the button opens, confirm it carries the title starting with Incidencia Amazon and the order ID.

Cost, versions and help

The module is published on Odoo Apps for Odoo 17, 18, 19 and 20 and is bought once per version; it needs the FlexigoTech Cloud subscription, Connector plan: €49/month or €490/year excluding VAT, up to 3 platform accounts (the Pro plan is €98/month or €980/year excluding VAT and goes up to 10). The connection goes through FlexigoTech Cloud, which stores the credentials encrypted, watches the sync and emails you if it fails. With the subscription, the module for newer Odoo versions is included if you bought it on flexigotech.com; on the Odoo App Store, each version is bought there. The details are on the Odoo Apps listing and the module page.

If you are implementing Odoo and want to review how Amazon orders arrive, or need a custom integration, FlexigoTech implements Odoo 17, 18, 19 and 20 and builds connectors and integrations.

Keep reading

What the «Create family on Amazon» button does, step by stepWhat the Create family on Amazon button of the Odoo SP-API connector checks and sends, when it shows up, and what to do about each error it can raise.
Checked in the connector's source code (version 20.0) and the linked sources

Sources