Welcome | Get started | Dive into Lino | Contribute | Reference | More

warehouse : managing the goods you own


This document is not finished and the plugin is not yet implemented.

The lino_xl.lib.warehouse plugin adds functionality for warehouse management.

This is a tested document. The following instructions are used for initialization:

>>> from lino import startup
>>> startup('lino_book.projects.apc.settings.doctests')
>>> from lino.api.doctest import *



A building or room for storing products.

storage slot

An named location for storing an individual product within a warehouse.

warehouse movement

The fact that a given quantity of a given product has moved at a given moment out of or into a given warehouse.


A list of the goods stored in a warehouse at a given date.

stock value

The value of a product in a warehouse.

purchase order

A document stating that we order a number of products (each with a quantity and potentially a price) from a given provider.

goods receipt

The process of entering goods into a warehouse.

goods receipt posting

A document stating that a number of products (each with a quantity) entered a warehouse.

stock modification

A document stating that a number of products (each with a quantity) has been lost or found.


Warehouse Management System


Stock Keeping Unit. The unique reference code you assigned to a product in order to refer to it on internal documents.

This plugin provides four voucher types:

Database models

class lino_xl.lib.warehouse.Warehouse

Django model representing a warehouse.

class lino_xl.lib.warehouse.Movement

Django model representing a warehouse movement.

class lino_xl.lib.warehouse.PurchaseOrder

Django model representing a purchase order.

Inherits from lino_xl.lib.sales.VatProductInvoice.

class lino_xl.lib.warehouse.GoodsReceipt

Django model representing a goods receipt posting.

Inherits from lino_xl.lib.sales.VatProductInvoice.

Adds a reference to the purchase order being satisfied.

class lino_xl.lib.warehouse.Inventory

Django model representing an inventory.



class lino_xl.lib.warehouse.ValueMethods

The list of available methods for computing the value of an inventory line.

Model mixins