Odoo 20.0 Community · Transient

stock.replenishment.info: fields, relations and API

The stock.replenishment.info model ("Stock supplier replenishment information") is a transient model declared by the Inventory module, then extended by 3 other modules. It exposes 29 fields, 23 of them declared directly on the model; 1 field from other models points to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 20 JSON-2 API call.

Model identity

Technical name
stock.replenishment.info
Label
Stock supplier replenishment information
Type
Transient (models.TransientModel)
SQL table
stock_replenishment_info
Origin module
Inventory (stock)
Extended by
mrp, sale_stock, purchase_stock
Display field (_rec_name)
orderpoint_id

Model fields

23 own fields, 0 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

29 of 29 fields shown

Technical nameLabelTypeDetails
based_onBased on

Estimate the daily average future demand volume based on past period or choose Custom Demand to enter manually average daily demand.

selection
required

Values: one_week (Last 7 days), one_month (Last 30 days), three_months (Last 3 months), one_year (Last 12 months), last_year (Same month last year), last_year_2 (Next month last year), last_year_3 (After next month last year), last_year_quarter (Last year quarter), custom (Custom Demand)

bom_idBommany2one

related: orderpoint_id.bom_id

added by Manufacturing (mrp)

bom_idsBommany2many
computed, stored

added by Manufacturing (mrp)

daily_demandDemand isfloat
required

related: orderpoint_id.daily_demand

danger_levelDanger Levelchar
computed
json_lead_daysJson Lead Dayschar
computed
json_replenishment_graphJson Replenishment Graphchar
computed
min_coverageMin Coverage

Days of demand covered by Minimum level: Should be ≥ Replenishment Time - Sales Availability Time to avoid stock-outs during replenishment time. Include extra days of safety to buffer unusual situations. Green if > Replenishment Time - Sales Availability Time Orange if = Replenishment Time - Sales Availability Time Red if < Replenishment Time - Sales Availability Time

integer
computed
orderpoint_idOrderpointmany2one
percent_factorPercent Factorinteger
required
product_idProductmany2one

related: orderpoint_id.product_id

product_max_qtyMaxfloat
required

related: orderpoint_id.product_max_qty

product_min_qtyMinfloat
required

related: orderpoint_id.product_min_qty

product_uom_nameProduct Uom Namechar

related: orderpoint_id.product_uom_name

qty_to_orderQty To Orderfloat

related: orderpoint_id.qty_to_order

replenish_frequencyReplenish Frequency

Replenishment Frequency: choose how many days there are between replenishment requests to optimize the balance between your storage costs and order costs and calculate your Maximum level.

integer
computed
sale_delayAvailability Time

Choose the maximum number of days within which the product should be available for delivery to a customer or for use in other situations.

integer
required

related: product_id.sale_delay

added by Sales and Warehouse Management (sale_stock)

show_bom_tabShow Bom Tabboolean
computed

added by Manufacturing (mrp)

show_vendor_tabShow Vendor Tabboolean
computed

added by Purchase Stock (purchase_stock)

supplierinfo_idSupplierinfomany2one

related: orderpoint_id.supplier_id

added by Purchase Stock (purchase_stock)

supplierinfo_idsSupplierinfomany2many
computed, stored

added by Purchase Stock (purchase_stock)

warehouseinfo_idsWarehouseinfoone2many

related: orderpoint_id.warehouse_id.resupply_route_ids

wh_replenishment_option_idsWh Replenishment Optionone2many
computed

inverse: replenishment_info_id

create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 20 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/stock.replenishment.info/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["orderpoint_id","based_on","daily_demand","percent_factor","product_max_qty"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/stock.replenishment.info/search_read",
    headers=headers,
    json={"domain": [], "fields": ["orderpoint_id","based_on","daily_demand","percent_factor","product_max_qty"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/stock-replenishment-info">stock.replenishment.info (Odoo 20.0)</a>

Sources

Data verified on September 25, 2026 · Odoo 20.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.