LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Odoo Stock Quantities: inputs and fields
← Odoo connection for LinkyFlow

Odoo Stock Quantities: inputs and fields

How many units an internal location holds (stock.quant): one row per product, lot, package and owner there. A count of a product at a location is written as Odoo’s own Update Quantity writes it, one transaction, Odoo booking the difference as an inventory adjustment.

Read

Stock Quantities

How many units an internal location holds (stock.quant): one row per product, lot, package and owner there. A count of a product at a location is written as Odoo’s own Update Quantity writes it, one transaction, Odoo booking the difference as an inventory adjustment.

Route: GET /stockQuants

Excel formula: =LF.odoo.stockQuants("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoOnly these records: one ID, or several comma-separated. An unknown ID answers no row.
product_ididNoOnly the records of this product: one ID, or several comma-separated.
location_ididNoOnly the records of this location: one ID, or several comma-separated.
under_location_ididNoOnly the rows of this location and of the internal locations under it, each row its own: location_id is one location alone.
per_pagenumberNoRows per page (max 200) Default: 100
pagenumberNoPage number, starting at 1

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
product_idid→ products-
product_id_namedefaultstring—-
location_idid→ stockLocations-
location_id_namedefaultstring—-
quantitydefaultnumber—-
reserved_quantitynumber—-
available_quantitynumber—-
lot_idid—-
lot_id_namestring—-
package_idid—-
package_id_namestring—-
owner_idid—-
owner_id_namestring—-
write_datedate—-
Create

Create Stock Quantity

Create Stock Quantity

Route: POST /mutation/stockQuants

Inputs you can set

NameTypeRequiredDescription
inventory_quantity_auto_applynumberYes-
location_ididYes-
product_ididYes-

Data returned in Excel

This action returns a confirmation rather than a selectable table.