Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

warehouse : managing the goods you own

Note

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

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

Side note: Code snippets (lines starting with >>>) in this document get tested as part of our development workflow. The following initialization snippet tells you which demo project is being used in this document.

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

Overview

warehouse

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.

inventory

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.

WMS

Warehouse Management System

SKU

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.

designation
class lino_xl.lib.warehouse.Movement

Django model representing a warehouse movement.

designation
class lino_xl.lib.warehouse.PurchaseOrder

Django model representing a purchase order.

Inherits from lino_xl.lib.trading.VatProductInvoice.

class lino_xl.lib.warehouse.GoodsReceipt

Django model representing a goods receipt posting.

Inherits from lino_xl.lib.trading.VatProductInvoice.

Adds a reference to the purchase order being satisfied.

class lino_xl.lib.warehouse.Inventory

Django model representing an inventory.

value_date

Choicelists

class lino_xl.lib.warehouse.ValueMethods

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

Model mixins