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 name | Label | Type | Details |
|---|---|---|---|
| active | Active If the active field is set to False, it will allow you to hide the orderpoint without removing it. | boolean | |
| allowed_location_ids | Allowed Location | one2many | computed |
| allowed_replenishment_uom_ids | Allowed Replenishment Uom | many2many→ uom.uom | computed |
| available_vendor | Available Vendor Any vendor on the product's pricelist | many2one | added by Purchase Stock ( |
| bom_id | Bill of Materials | many2one→ mrp.bom | added by Manufacturing ( |
| bom_id_placeholder | Bom Id Placeholder | char | computed added by Manufacturing ( |
| company_id | Company | many2one | required |
| days_to_order | Days To Order Numbers of days in advance that replenishments demands are created. | float | computed |
| deadline_date | Deadline 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_id | Effective Bill of Materials Either the Bill of Materials set directly or the one computed to be used by this replenishment | many2one→ mrp.bom | computed added by Manufacturing ( |
| effective_route_id | Effective Route Either the route set directly or the one computed to be used by this replenishment | many2one | computed |
| effective_vendor_id | Effective Vendor Either the vendor set directly or the one computed to be used by this replenishment | many2one | computed added by Purchase Stock ( |
| lead_days | Lead Days | float | computed |
| lead_horizon_date | Lead Horizon Date | date | computed |
| location_id | Location | many2one | requiredcomputed, stored |
| name | Name | char | requiredread-only |
| product_category_id | Product Category | many2one | related: |
| product_id | Product | many2one | required |
| product_max_qty | Max Quantity Stock level to reach when replenishing. | float | requiredcomputed, stored |
| product_min_qty | Min Quantity The minimum Stock level that will trigger a replenishment. | float | required |
| product_tmpl_id | Product Tmpl | many2one | related: |
| product_uom | Unit | many2one→ uom.uom | related: |
| product_uom_name | Product unit of measure label | char | read-only related: |
| qty_forecast | Forecast | float | read-onlycomputed |
| qty_on_hand | On Hand | float | read-onlycomputed |
| qty_to_order | To Order | float | computed |
| qty_to_order_computed | To Order Computed | float | computed, stored |
| qty_to_order_manual | To Order Manual | float | |
| replenishment_uom_id | Multiple The procurement quantity will be rounded up to a multiple of this unit/packaging. If it is not set, it is not rounded. | many2one→ uom.uom | |
| replenishment_uom_id_placeholder | Replenishment Uom Id Placeholder | char | computed |
| route_id | Route | many2one | |
| route_id_placeholder | Route Id Placeholder | char | computed |
| rule_ids | Rules used | many2many | computed |
| show_bom | Show BoM column | boolean | computed added by Manufacturing ( |
| show_supplier | Show supplier column | boolean | computed added by Purchase Stock ( |
| show_supply_warning | Show Supply Warning | boolean | computed |
| snoozed_until | Snoozed Hidden until next scheduler. | date | |
| supplier_id | Vendor Pricelist | many2one | added by Purchase Stock ( |
| supplier_id_placeholder | Supplier Id Placeholder | char | computed added by Purchase Stock ( |
| trigger | Trigger | selection | required Values: |
| unwanted_replenish | Unwanted Replenish | boolean | computed |
| vendor_ids | Vendors | one2many | related: added by Purchase Stock ( |
| warehouse_id | Warehouse | many2one | requiredcomputed, stored |
| create_date | Created on | datetime | read-onlyautomatic |
| create_uid | Created by | many2one | read-onlyautomatic |
| display_name | Display Name | char | read-onlycomputedautomatic |
| id | ID | integer | read-onlyautomatic |
| write_date | Last Updated on | datetime | read-onlyautomatic |
| write_uid | Last Updated by | many2one | read-onlyautomatic |
Relations
Models linked from this model
- mrp.bom: bom_id, effective_bom_id
- product.category: product_category_id
- product.product: product_id
- product.supplierinfo: supplier_id, vendor_ids
- product.template: product_tmpl_id
- res.company: company_id
- res.partner: available_vendor, effective_vendor_id
- stock.location: allowed_location_ids, location_id
- stock.route: effective_route_id, route_id
- stock.rule: rule_ids
- stock.warehouse: warehouse_id
- uom.uom: allowed_replenishment_uom_ids, product_uom, replenishment_uom_id
Fields of other models pointing here
- mrp.production: orderpoint_id
- purchase.order.line: orderpoint_id
- stock.move: orderpoint_id
- stock.orderpoint.snooze: orderpoint_ids
- stock.replenishment.info: orderpoint_id
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 -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}'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.