Stock and prices
Stock
Odoo is the master of your Jazi stock. It sends the quantity of each linked variant about a minute after stock moves in Odoo, and checks every variant on the store's schedule (every hour by default). Jazi receives the total available, not a change.
Odoo is the master of stock: it sends Jazi the quantity of every linked product. Stock is sent only for products in Product Links with Send Stock on.
The quantity sent
- Odoo takes the quantity of the Stock Source in the Stock From Warehouses (or the Order Warehouse): free to use (on hand minus reserved), on hand or forecasted.
- It applies the Stock Buffer.
- It rounds down to whole units. Negative quantities become 0.
| Stock Source quantity | Stock Buffer | Buffer Value | Sent |
|---|---|---|---|
| 12 | Send the full quantity | 12 | |
| 12 | Keep back a fixed quantity | 2 | 10 |
| 1 | Keep back a fixed quantity | 2 | 0 |
| 12 | Send a percentage | 80 | 9 (9.6 rounded down) |
| 2.5 kg | Send the full quantity | 2 |
On Odoo 18, 19 and 20, Stock From Warehouses is respected from Commerce Bridge 1.0.2. Version 1.0.1 sent the stock of all warehouses of the company there.
When stock is sent
| When | What is sent |
|---|---|
| Stock moves in Odoo (a delivery or receipt is validated, products are reserved or unreserved, an inventory adjustment is applied) | About one minute later, one job sends every linked product whose quantity changed since it was last sent. Many moves within that minute become one job. |
| Every hour (the store's Schedules tab) | The same check, as a safety net. |
| Send All Stock on the store, or Sync... > Send stock to the store | Every linked product, also when nothing changed. |
| Product Links, select lines, Action > Send Stock to Store | The selected products, also when nothing changed. |
Automatic sending needs Send Stock Automatically on and the store Connected. A test copy of the database never sends stock.
Reading Product Links
| Column | Meaning |
|---|---|
| Send Stock | Switch off to leave the quantity of this product to Jazi, for example for a product you manage only in the store. |
| Stock Sent | The quantity Jazi accepted last time |
| Stock Sent On | When |
The filters Stock Not Sent and Out of Stock in Store help to check what customers see.
Setting Odoo stock from the store
When you start, your stock may only be correct in Jazi. Sync... > Set Odoo stock from the store quantities sets the on-hand quantity of every linked product, in the location you choose, to the store quantity, as an inventory adjustment. Use it once, at the start: afterwards Odoo is the master and sends its quantities.
Stock safeguards
These protect you from selling stock you no longer have.
| Safeguard | What it does |
|---|---|
| Sold out goes at once | When a product reaches 0 available, its stock is sent right away. Other stock changes wait 60 seconds so a burst of changes is sent together. |
| Kits follow their components | A kit (a bill of materials of type Kit, with the Manufacturing app) is sent again when the stock of one of its components changes. |
Stock From Warehouses on the Stock tab: the quantities of all chosen warehouses are added up. Orders are still delivered from the store's Order Warehouse, or the warehouse you pick on the order before confirming it.
Prices
- The price is the store Pricelist price for one unit, in SAR, rounded to two decimals.
- A lower price from the Sale Price Pricelist is sent as Jazi's special price while it applies.
- With Send Prices Automatically, prices that changed since they were last sent go out on the store's schedule. Jazi may review price changes, so once a day (1440 minutes on the Schedules tab) is a good choice.
- Sync... > Send prices to the store sends every price now; Change Price on a product link sets and sends one.
Imported orders keep the price of the store pricelist when they were imported; changing the pricelist later does not change them.
Batch results
Jazi applies stock and prices in batches of up to 1,000 items and reports a result per item. Odoo reads the result back:
| Result | In Odoo |
|---|---|
| Applied | Stock Sent / Price Sent updated on the product link. |
| TOTAL_BELOW_RESERVED | Jazi has more units reserved for open orders than the quantity sent. Ship or cancel those orders, then send again. |
| STOCK_UNAVAILABLE, unknown seller SKU | The variant is no longer on Jazi under that SKU. Check the link. |
| Special price above the price | Fix the Sale Price Pricelist. |
Refused items are written to the log and marked as not sent, so they go again with the next update; the other items of the batch are applied.