Skip to main content
Amazon

The «Create/Open Internal Return Follow-up» button in Amazon Connector

The Create/Open Internal Return Follow-up button creates the internal case for an Amazon return that has a pending action, or updates and opens the one that already exists. It only appears on a Returns (BI) line that has the pending action marked and no primary postsale case yet.

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
5 min

Where the button is and when it appears

The Returns (BI) forms open from the menu Amazon › Analytics / BI › Returns. Each part of that menu asks for the Viewer permission: without it, you do not see that part. The button is on that screen in Odoo 17, 18, 19 and 20.

Code-built diagram: the menu Amazon, Analytics / BI, Returns, the Create/Open Internal Return Follow-up button and the messages that can stop it shown alongside
Diagram built from the module's published code, not an Odoo screen.

With the default values the button is not visible. It appears only when the line has Pending Action Required ticked and its Primary Postsale Case is empty. If a primary case already exists, or the line has no pending action, the button is hidden.

The second diagram shows how the same button label reads in Spanish, German, French, Italian and Portuguese, depending on the language of your Odoo.

Code-built diagram: the button label in Spanish, German, French, Italian and Portuguese
Diagram built from the module's published translations, not an Odoo screen.
Your Odoo doesn't talk to Amazon, Temu or Shopify?
Video: Your Odoo doesn't talk to Amazon, Temu or Shopify?

Step by step

The button is the manual route. Before using it, it helps to know what Odoo does on its own.

  1. Look at the automatic route first. On the Accounts form, in the Orders & Fulfillment tab, group Post-Sales Cases (ON by default), there are tick boxes that decide it: Post-sales: auto case from return pending action and Post-sales: auto case from refund. They are on by default in the code.
  2. Let the scheduled task Amazon SP-API - Post-sales pipeline run. It runs every hour, is active on installation and reaches, without anyone pressing the button, the same code that creates the case for a return with a pending action.
  3. If you want to create or open the case for one particular line without waiting, go to Amazon › Analytics / BI › Returns and open the line.
  4. Check that you can see the button: the line must have Pending Action Required ticked and the Primary Postsale Case must be empty.
  5. Press Create/Open Internal Return Follow-up.
  6. Look at the result: either the case form opens, or a notice appears with the number of cases handled.

The button's code does not consult the tick boxes from the first step. Pressing it by hand is the exception for one specific line, not the normal step when the automatic route is on.

What the button does internally

When you press it, the module works in this order:

  • Permissions. If you are not a superuser and your user does not have at least Operator access to the connector, the action stops with the message in the table below. It also checks that your user can write to the record.
  • One pass per line. For each line, it asks the account to find or create the case. If the line does not have Pending Action Required ticked, it is skipped and nothing is created.
  • If the case for that return already exists, it updates it: it recalculates the priority from the return reason, updates the refund reason, and fills in the amount, the sales order and the return line only if the case did not have them. If the case was resolved or cancelled, it reopens it and clears its resolution date.
  • If it does not exist, it creates a new one with the content detailed below.
  • Link and external status. Once the case is created or updated, it refreshes the line's link to its primary postsale case and updates that line's partial-refund cases, if there are any: it copies to them the latest refund status and the latest refund error, with the action Amazon refund feed.
  • Response. If the result is a single case, it opens its form. In any other case it shows a notice.

What the new case contains

  • A return follow-up type, an open state and a priority based on the return reason.
  • The title Amazon return pending action …, with the Amazon order or, if that is missing, the line identifier.
  • A deadline calculated from the post-sales case SLA hours set on the account.
  • The line's refund amount and refund reason, the currency of the account's company and the Odoo sales order if the module finds one for that Amazon order.
  • A description that starts with Case auto-generated from a return with a pending action., continues with the SKU, the RMA, Return status: … and Reason: …, and adds Pending action: … and Buyer comment: … when the line has that data.

What to check afterwards

If the case form opens, check that the title starts with Amazon return pending action … and that the description picks up the SKU, the RMA, the return status and the reason. If you see the notice instead, the number tells you how many cases the button handled.

Notices and errors

MessageWhen it appearsWhat to do
You need at least Amazon Seller Connector Operator access for this action. Ask a manager to grant Operator or Manager access.When you press the button, if you are not a superuser and your user does not have at least Operator access to the connectorAsk a manager to give you Operator or Manager access, as the message itself says. The action stops before touching any case
Internal return follow-up cases managed: …When you press the button and the result is not a single case. It is a success notice, titled Amazon SP-API, and it does not stay fixed on screenNothing: it is informational, and the number shows how many cases the button handled

If you need help

The module is published on Odoo Apps for versions 17, 18, 19 and 20 (see its listing or its page on flexigotech.com). FlexigoTech implements Odoo 17, 18, 19 and 20 and develops custom connectors and integrations, in case you need to adapt the Amazon returns process to the way you work.

Keep reading

Checked in the connector's source code (version 20.0) and the linked sources

Sources