Odoo 19.0 Community · Persistent

stock.warehouse.orderpoint: fields, relations and API

The stock.warehouse.orderpoint model ("Minimum Inventory Rule") is a persistent model declared by the Inventory module, then extended by 4 other modules. It exposes 49 fields, 43 of them declared directly on the model; 5 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.

Model identity

Technical name
stock.warehouse.orderpoint
Label
Minimum Inventory Rule
Type
Persistent (models.Model)
SQL table
stock_warehouse_orderpoint
Origin module
Inventory (stock)
Extended by
mrp, purchase_stock, mrp_subcontracting_dropshipping, sale_mrp
Default order (_order)
location_id,company_id,id

Model fields

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

49 of 49 fields shown

Technical nameLabelTypeDetails
activeActive

If the active field is set to False, it will allow you to hide the orderpoint without removing it.

boolean
allowed_location_idsAllowed Locationone2many
computed
allowed_replenishment_uom_idsAllowed Replenishment Uommany2many
computed
available_vendorAvailable Vendor

Any vendor on the product's pricelist

many2one

added by Purchase Stock (purchase_stock)

bom_idBill of Materialsmany2one

added by Manufacturing (mrp)

bom_id_placeholderBom Id Placeholderchar
computed

added by Manufacturing (mrp)

company_idCompanymany2one
required
days_to_orderDays To Order

Numbers of days in advance that replenishments demands are created.

float
computed
deadline_dateDeadline

Date before which you should order to avoid falling below the minimum. If you have nothing to order while a deadline is found, it may be because a future arrival is expected after the minimum quantity is reached (potential stockout). Check the Forecast Report.

date
read-onlycomputed, stored
effective_bom_idEffective Bill of Materials

Either the Bill of Materials set directly or the one computed to be used by this replenishment

many2one
computed

added by Manufacturing (mrp)

effective_route_idEffective Route

Either the route set directly or the one computed to be used by this replenishment

many2one
computed
effective_vendor_idEffective Vendor

Either the vendor set directly or the one computed to be used by this replenishment

many2one
computed

added by Purchase Stock (purchase_stock)

lead_daysLead Daysfloat
computed
lead_horizon_dateLead Horizon Datedate
computed
location_idLocationmany2one
requiredcomputed, stored
nameNamechar
requiredread-only
product_category_idProduct Categorymany2one

related: product_id.categ_id

product_idProductmany2one
required
product_max_qtyMax Quantity

Stock level to reach when replenishing.

float
requiredcomputed, stored
product_min_qtyMin Quantity

The minimum Stock level that will trigger a replenishment.

float
required
product_tmpl_idProduct Tmplmany2one

related: product_id.product_tmpl_id

product_uomUnitmany2one

related: product_id.uom_id

product_uom_nameProduct unit of measure labelchar
read-only

related: product_uom.display_name

qty_forecastForecastfloat
read-onlycomputed
qty_on_handOn Handfloat
read-onlycomputed
qty_to_orderTo Orderfloat
computed
qty_to_order_computedTo Order Computedfloat
computed, stored
qty_to_order_manualTo Order Manualfloat
replenishment_uom_idMultiple

The procurement quantity will be rounded up to a multiple of this unit/packaging. If it is not set, it is not rounded.

many2one
replenishment_uom_id_placeholderReplenishment Uom Id Placeholderchar
computed
route_idRoutemany2one
route_id_placeholderRoute Id Placeholderchar
computed
rule_idsRules usedmany2many
computed
show_bomShow BoM columnboolean
computed

added by Manufacturing (mrp)

show_supplierShow supplier columnboolean
computed

added by Purchase Stock (purchase_stock)

show_supply_warningShow Supply Warningboolean
computed
snoozed_untilSnoozed

Hidden until next scheduler.

date
supplier_idVendor Pricelistmany2one

added by Purchase Stock (purchase_stock)

supplier_id_placeholderSupplier Id Placeholderchar
computed

added by Purchase Stock (purchase_stock)

triggerTriggerselection
required

Values: auto (Auto), manual (Manual)

unwanted_replenishUnwanted Replenishboolean
computed
vendor_idsVendorsone2many

related: product_id.seller_ids

added by Purchase Stock (purchase_stock)

warehouse_idWarehousemany2one
requiredcomputed, stored
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 19 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.warehouse.orderpoint/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","company_id","location_id","product_id","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.warehouse.orderpoint/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","company_id","location_id","product_id","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-warehouse-orderpoint">stock.warehouse.orderpoint (Odoo 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.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.