stock.location
Inventory Location. Defined in module stock; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 8 fields added, 12 removed, 0 renamed.
- Odoo 16 stock
- Odoo 17 stock
- Odoo 18 stock
- Odoo 19 stock
- Odoo 20 stock
No change to this model's own fields in this step.
Fields removed (9)
| Field | Type | Module | Notes |
|---|---|---|---|
| comment | html | stock | |
| is_a_dock | boolean | stock_fleet | |
| is_subcontracting_location | boolean | mrp_subcontracting | |
| posx | integer | stock | |
| posy | integer | stock | |
| posz | integer | stock | |
| scrap_location | boolean | stock | |
| valuation_in_account_id | many2one | stock_account | |
| valuation_out_account_id | many2one | stock_account |
Fields added (5)
| Field | Type | Module |
|---|---|---|
| barcode_img | binary | stock_barcode |
| equipment_count | integer | stock_maintenance |
| is_valued_external | boolean | stock_account |
| is_valued_internal | boolean | stock_account |
| valuation_account_id | many2one | stock_account |
2 views of this model removed
- mrp_subcontracting.view_location_form
- stock_fleet.stock_location_tree_stock_fleet
Fields removed (2)
| Field | Type | Module | Notes |
|---|---|---|---|
| is_valued_external | boolean | stock_account | |
| is_valued_internal | boolean | stock_account |
Fields added (1)
| Field | Type | Module |
|---|---|---|
| is_valued | boolean | stock_account |
1 actions on this model removed
- stock.action_report_location_barcode
All fields declared on stock.location (42)
Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.
present not present not covered (Enterprise, Odoo 16 and 17)
Show all 42 fields
| Field | Type | Label | Module | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|
| active | boolean | Active | stock | |||||
| barcode | char | Barcode | stock | |||||
| barcode_img | binary | stock_barcodeE | ||||||
| child_ids | one2many stock.location | Contains | stock | |||||
| child_internal_location_ids | many2many stock.location | Internal locations among descendants | stock | |||||
| comment | html | Additional Information | stock | |||||
| company_id | many2one res.company | Company | stock | |||||
| complete_name | char | Full Location Name | stock | |||||
| cyclic_inventory_frequency | integer | Inventory Frequency | stock | |||||
| equipment_count | integer | Equipment Count | stock_maintenance | |||||
| forecast_weight | float | Forecasted Weight | stock | |||||
| incoming_move_line_ids | one2many stock.move.line | stock | ||||||
| is_a_dock | boolean | Is a Dock Location | stock_fleet | |||||
| is_empty | boolean | Is Empty | stock | |||||
| is_subcontracting_location | boolean | Is a Subcontracting Location? | mrp_subcontracting | |||||
| is_valued | boolean | Is valued inside the company | stock_account | |||||
| is_valued_external | boolean | Is valued outside the company | stock_account | |||||
| is_valued_internal | boolean | Is valued inside the company | stock_account | |||||
| last_inventory_date | date | Last Inventory | stock | |||||
| location_id | many2one stock.location | Parent Location | stock | |||||
| name | char | Location Name | stock | |||||
| net_weight | float | Net Weight | stock | |||||
| next_inventory_date | date | Next Expected | stock | |||||
| outgoing_move_line_ids | one2many stock.move.line | stock | ||||||
| parent_path | char | stock | ||||||
| posx | integer | Corridor (X) | stock | |||||
| posy | integer | Shelves (Y) | stock | |||||
| posz | integer | Height (Z) | stock | |||||
| putaway_rule_ids | one2many stock.putaway.rule | Putaway Rules | stock | |||||
| quant_ids | one2many stock.quant | stock | ||||||
| removal_strategy_id | many2one product.removal | Removal Strategy | stock | |||||
| replenish_location | boolean | Replenishments | stock | |||||
| return_location | boolean | Is a Return Location? | stock | |||||
| scrap_location | boolean | Is a Scrap Location? | stock | |||||
| storage_category_id | many2one stock.storage.category | Storage Category | stock | |||||
| subcontractor_ids | one2many res.partner | mrp_subcontracting | ||||||
| usage | selection | Location Type | stock | |||||
| valuation_account_id | many2one account.account | Stock Valuation Account | stock_account | |||||
| valuation_in_account_id | many2one account.account | Stock Valuation Account (Incoming) | stock_account | |||||
| valuation_out_account_id | many2one account.account | Stock Valuation Account (Outgoing) | stock_account | |||||
| warehouse_id | many2one stock.warehouse | stock | ||||||
| warehouse_view_ids | one2many stock.warehouse | stock |