Please enable JavaScript to view this site.

Made in EU
Odoo Forums

Navigation: Schema: stock > Tables

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

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer