Connect Odoo (your stock and orders)
Prepare Odoo, then connect it from «Warehouses» → «Connect warehouse» → Odoo.
Before you start
- A plan that allows outside apps. On Odoo Online that is the Custom plan.
- A user with Inventory, Sales and Invoicing rights. Without them the connection is refused.
- Internal Reference on every product matches the SKU in Nasam exactly. Nasam reads a product's stock and writes its order lines by it.
- No other active warehouse on the brand. A brand accepts one warehouse only.
Steps
In Odoo
Create an API key for that user:
- Open the user's Preferences.
- Open «Account Security».
- Click «New API Key».
- Copy the key now: it shows once.
In Nasam
Enter these values:
| Field in Nasam | Value |
|---|---|
| Odoo address | The address you open Odoo at, such as https://yourcompany.odoo.com |
| Database | On Odoo Online: the part before .odoo.com |
| Login email | The email of the user who owns the key |
| API key | The key you created |
If you later change the address or database from «Edit connection», enter the key again.
Before you press «Connect»
- «What Nasam creates in Odoo».
- The «Sales orders» and «Invoices and credit notes» switches are on when you connect.
- Nasam never deletes a document it created in Odoo: cancelling or returning the order only reverses it.
- «Channels».
- If a channel's orders reach Odoo another way, set it to «Reaches Odoo directly». Otherwise Nasam creates a second document for an order you already have.
- If every channel does, turn on «Odoo receives every channel's orders itself».
- FBA and FBN orders never pass through your warehouse, so no documents are created for them.
- «Quantities».
- Nasam adopts the warehouse's quantity over your channels' quantities.
- If it warns that listings would rise above what the channel shows now, check the number in Odoo before «Adopt & finish».
- «Disconnect». After it Nasam writes nothing in Odoo, not even the cancellation of an earlier order.
Odoo catalog (optional)
From «Edit connection» → «Use Odoo as your product catalog». Nasam takes the name, barcode, weight and category from Odoo's active products that can be sold.
- Turning it off does not restore the earlier values.
- «Barcodes in use» means another product in Nasam holds that barcode, so it isn't written. Correct it in Odoo.
- «Only in Odoo» counts Odoo products with no match in Nasam; Nasam doesn't create a product for them.
Common problems
| Message after «Check connection» | Fix |
|---|---|
| «Sign-in failed…» | The email isn't the key owner's login, or create the key again |
| «No database by that name…» | The part before .odoo.com in the address |
| «Couldn't reach Odoo at that address…» | Copy the address from your browser while inside Odoo |
| «This Odoo doesn't allow outside apps to connect…» | Upgrade to the Custom plan |
| «This Odoo user can't read sales, stock or invoicing…» | Give the user Sales, Inventory and Invoicing |
| «This Odoo has no warehouse this user can see.» | Give the user access to the company that owns the warehouse |
Next step
Need a hand?
The Nasam team is with you, whatever the question: WhatsApp +966 55 009 0039 or general@nasam.co. And we set up your marketplace accounts with you, step by step. The consultation is free.