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 warehousing.

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 *

Overview

warehouse

A building or room for storing goods.

storage slot

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

good

A physical product that can be stored in a warehouse.

inventory

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

stock value

The value of a good 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 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.

goods receipt

The process of entering goods into a warehouse.

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.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.

value_date

Choicelists

class lino_xl.lib.warehouse.ValueMethods

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

Model mixins