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:
All code snippets on this page (lines starting with >>>
) are being
tested as part of our development workflow. The following
snippet initializes a demo project to use throughout this page.
>>> from lino_book.projects.noi1r.startup 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.