Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
storage
: Storage, provisions and fillers¶
The lino_xl.lib.storage
plugin adds functionality for managing
storage provisions and fillers.
For an end-user introduction read The storage plugin.
Table of contents:
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.noi1r.settings')
>>> from lino.api.doctest import *
Dependencies¶
>>> dd.plugins.storage
<lino_xl.lib.storage.Plugin lino_xl.lib.storage(needs ['lino_xl.lib.products', 'lino.modlib.summaries'])>
Models¶
- class lino_xl.lib.storage.Filler¶
- partner¶
- provision_product¶
- provision_state¶
- min_asset¶
The minimum quantity to have in provision. When the partner has less than this quantity, the filler gets triggered, i.e. generates a wanted invoice item.
- fill_asset¶
The target quantity to have in provision when this filler has triggered.