Inventory

Zapasy i magazyny

MarketplaceOperacjeWersja 0.3.0AGPL-3.0-or-latermanifest

Do czego służy ​

Describe warehouses and locations, record stock levels and log stock moves. Quantities are entered by people, so it works as a ledger of what was counted and moved rather than an automatic stock engine.

Co pakiet robi, a czego nie robi ​

Warehouses, stock locations, stock levels and stock moves. Validating a move takes the quantity out of the stock item at the source location and adds it to the item at the destination, in one step; an item that does not exist yet is created. There is one item per product, location and lot. Negative quantities are allowed, as for virtual locations such as suppliers.

Szczegóły modułu ​

  • Wersja: 0.3.0
  • Autor: SpaceCorps
  • Licencja: AGPL-3.0-or-later
  • Wymaga rdzenia: ^0.2 (aktualny rdzeń to 0.2.0)
  • Dojrzałość: Beta
  • Kategorie: Łańcuch dostaw

Modele ​

inventory_warehouse ​

A building or site where stock is kept

Grupa odczytu: inventory.user. Grupa zapisu: inventory.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
nametextnonenieinventory.userjawnieWarehouse name
codetextnonenieinventory.userjawnieShort code printed on documents, for example WH1
addresslongtextnonenieinventory.userjawniePostal address of the site
activeboolnonenieinventory.userjawnieWhether the warehouse is in use

inventory_location ​

A place inside a warehouse where stock can sit

Grupa odczytu: inventory.user. Grupa zapisu: inventory.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
nametextnonenieinventory.userjawnieLocation name, for example Shelf A3
warehouse_idref → inventory_warehousenonenieinventory.userjawnieThe warehouse the location belongs to
kindselect (internal, receiving, shipping, transit, scrap)nonenieinventory.userjawnieWhat the location is used for: internal, receiving, shipping, transit, scrap
activeboolnonenieinventory.userjawnieWhether the location is in use

inventory_item ​

The quantity of one product held at one location

Grupa odczytu: inventory.user. Grupa zapisu: inventory.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
product_idref → productnonenieinventory.userjawnieThe product held; there is one item per product, location and lot
location_idref → inventory_locationnonenieinventory.userjawnieWhere it is held
quantitynumbernonenieinventory.userjawnieUnits on hand
reorder_levelnumbernonenieinventory.userjawnieQuantity at or below which the product should be replenished
lottextnonenieinventory.userjawnieLot or batch number, if tracked

inventory_move ​

A movement of a product between locations, or into or out of the business

Grupa odczytu: inventory.user. Grupa zapisu: inventory.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
referencesequencenonenieinventory.userjawnieNumber of the move such as MV-00042, assigned when the move is created
product_idref → productnonenieinventory.userjawnieThe product moved
from_location_idref → inventory_locationnonenieinventory.userjawnieWhere it leaves; empty for a receipt from a supplier
to_location_idref → inventory_locationnonenieinventory.userjawnieWhere it arrives; empty for a delivery to a customer
quantitynumbernonenieinventory.userjawnieUnits moved
scheduled_ondatenonenieinventory.userjawnieDate the move is planned for (YYYY-MM-DD)
stateselect (draft, done, cancelled)nonenieinventory.userjawnieMove status: draft, done, cancelled

Przepływy pracy ​

inventory_move ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
inventory_move.validatestate: draft → doneinventory.managertak
inventory_move.cancelstate: draft → cancelledinventory.usernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

  • inventory.manager
  • inventory.user

Kroki zatwierdzania ​

Kroki, które agent może tylko zaproponować:

  • inventory_move.validate

Co agenci mogą, a czego nie mogą ​

Agent może odczytywać, wyszukiwać, tworzyć i aktualizować rekordy tej aplikacji oraz uruchamiać akcje niewymagające zatwierdzenia, w ramach grup uprawnień swojego tokenu.

Te kroki może tylko zaproponować, a człowiek musi je zatwierdzić: inventory_move.validate, inventory_warehouse.delete, inventory_location.delete, inventory_item.delete, inventory_move.delete.

Zależności ​

Każda zależność podaje akceptowane wersje. Aplikacje wbudowane są wersjonowane razem z rdzeniem, więc wymaganie wobec nich sprawdza się względem wersji rdzenia.

Instalacja tej aplikacji z marketplace instaluje też brakujące zależności, w jednym planie potwierdzanym raz.

Instalacja ​

Zainstaluj ją w aplikacji Customize (Marketplace) lub z wiersza poleceń:

bash
obop modules install-from inventory

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

Przewodnik po modułach pokazuje, jak pisze się takie aplikacje