location |
Inventory Locations
Catalog: Odoo
Schema: stock
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table location are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
active |
boolean |
Active |
☐ |
By unchecking the active field, you may hide a location without deleting it. |
amazon_location |
boolean |
Amazon Location |
☐ |
Whether this location represents the stock of a seller managed by Amazon under the Amazon Fulfillment program or not. |
barcode |
string |
Barcode |
☐ |
|
child_ids |
string |
|
☐ |
|
child_internal_location_ids |
string |
|
☐ |
This location (if it's internal) and all its descendants filtered by type=Internal. |
comment |
string |
Additional Information |
☐ |
|
company_id_label |
string |
|
☐ |
Let this field empty if this location is shared between companies |
company_id |
string |
|
☐ |
Let this field empty if this location is shared between companies |
complete_name |
string |
Full Location Name |
☐ |
|
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
cyclic_inventory_frequency |
int32 |
Inventory Frequency (Days) |
☐ |
When different than 0, inventory count date for products stored at this location will be automatically set at the defined frequency. |
display_name |
string |
Display Name |
☐ |
|
forecast_weight |
decimal |
Forecasted Weight |
☐ |
|
id |
int32 |
ID |
☐ |
|
incoming_move_line_ids |
string |
|
☐ |
|
last_inventory_date |
datetime |
Last Effective Inventory |
☐ |
Date of the last inventory at this location. |
location_id_label |
string |
|
☐ |
The parent location that includes this location. Example : The 'Dispatch Zone' is the 'Gate 1' parent location. |
location_id |
string |
|
☐ |
The parent location that includes this location. Example : The 'Dispatch Zone' is the 'Gate 1' parent location. |
name |
string |
Location Name |
☑ |
|
net_weight |
decimal |
Net Weight |
☐ |
|
next_inventory_date |
datetime |
Next Expected Inventory |
☐ |
Date for next planned inventory based on cyclic schedule. |
outgoing_move_line_ids |
string |
|
☐ |
|
parent_path |
string |
Parent Path |
☐ |
|
posx |
int32 |
Corridor (X) |
☐ |
Optional localization details, for information purpose only |
posy |
int32 |
Shelves (Y) |
☐ |
Optional localization details, for information purpose only |
posz |
int32 |
Height (Z) |
☐ |
Optional localization details, for information purpose only |
putaway_rule_ids |
string |
|
☐ |
|
quant_ids |
string |
|
☐ |
|
removal_strategy_id_label |
string |
|
☐ |
Defines the default method used for suggesting the exact location (shelf) where to take the products from, which lot etc. for this location. This method can be enforced at the product category level, and a fallback is made on the parent locations if none is set here.FIFO: products/lots that were stocked first will be moved out first.LIFO: products/lots that were stocked last will be moved out first.Closet location: products/lots closest to the target location will be moved out first.FEFO: products/lots with the closest removal date will be moved out first (the availability of this method depends on the "Expiration Dates" setting). |
removal_strategy_id |
string |
|
☐ |
Defines the default method used for suggesting the exact location (shelf) where to take the products from, which lot etc. for this location. This method can be enforced at the product category level, and a fallback is made on the parent locations if none is set here.FIFO: products/lots that were stocked first will be moved out first.LIFO: products/lots that were stocked last will be moved out first.Closet location: products/lots closest to the target location will be moved out first.FEFO: products/lots with the closest removal date will be moved out first (the availability of this method depends on the "Expiration Dates" setting). |
replenish_location |
boolean |
Replenish Location |
☐ |
Activate this function to get all quantities to replenish at this particular location |
return_location |
boolean |
Is a Return Location? |
☐ |
Check this box to allow using this location as a return location. |
scrap_location |
boolean |
Is a Scrap Location? |
☐ |
Check this box to allow using this location to put scrapped/damaged goods. |
storage_category_id_label |
string |
|
☐ |
|
storage_category_id |
string |
|
☐ |
|
usage |
string |
Location Type |
☑ |
* Vendor Location: Virtual location representing the source location for products coming from your vendors* View: Virtual location used to create a hierarchical structures for your warehouse, aggregating its child locations ; can't directly contain products* Internal Location: Physical locations inside your own warehouses,* Customer Location: Virtual location representing the destination location for products sent to your customers* Inventory Loss: Virtual location serving as counterpart for inventory operations used to correct stock levels (Physical inventories)* Production: Virtual counterpart location for production operations: this location consumes the components and produces finished products* Transit Location: Counterpart location that should be used in inter-company or inter-warehouses operations |
valuation_in_account_id_label |
string |
|
☐ |
Used for real-time inventory valuation. When set on a virtual location (non internal type), this account will be used to hold the value of products being moved from an internal location into this location, instead of the generic Stock Output Account set on the product. This has no effect for internal locations. |
valuation_in_account_id |
string |
|
☐ |
Used for real-time inventory valuation. When set on a virtual location (non internal type), this account will be used to hold the value of products being moved from an internal location into this location, instead of the generic Stock Output Account set on the product. This has no effect for internal locations. |
valuation_out_account_id_label |
string |
|
☐ |
Used for real-time inventory valuation. When set on a virtual location (non internal type), this account will be used to hold the value of products being moved out of this location and into an internal location, instead of the generic Stock Output Account set on the product. This has no effect for internal locations. |
valuation_out_account_id |
string |
|
☐ |
Used for real-time inventory valuation. When set on a virtual location (non internal type), this account will be used to hold the value of products being moved out of this location and into an internal location, instead of the generic Stock Output Account set on the product. This has no effect for internal locations. |
warehouse_id_label |
string |
|
☐ |
|
warehouse_id |
string |
|
☐ |
|
warehouse_view_ids |
string |
|
☐ |
|
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826