Inventory

Zapasy i magazyny

MarketplaceOperacjeWersja 0.1.0manifest

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. Quantities are entered and validated by people; they are not updated automatically by moves.

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
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
referencetextnonenieinventory.userjawnieReference of the move, for example a delivery or receipt number
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.usertak
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 ​

  • product

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