netbox-inventory icon indicating copy to clipboard operation
netbox-inventory copied to clipboard

Add Consumables concept

Open eamonnlambda opened this issue 1 year ago • 0 comments

Hi,

I saw in #53 that the project may be open to the concept of a Consumable. I implemented a majority of the functionality (still changes to come for QoL, but the basis is there), and wanted to bring this back & make sure that I have gone down the correct path for implementation. Is this the direction the modifications should go/does everything look good so far?

Added:

  • Consumable
  • Consumable Type

Consumable Fields:

  • Consumable Type
  • Manufacturer
  • Quantity
  • Alert At Quantity (Send out an alert if the stored quantity of Consumables falls below this amount)
  • Location

Consumable Type Fields:

  • Name
  • Part Number
  • Manufacturer
  • Slug
  • Description

TODO (for me):

  • ~~Add easy increment/decrement quantity for Consumables~~ Completed
  • Implement some form of alerting when alert_at_quantity is reached
  • Adding a tab for Consumables on the Location page (much like the tab for Assets)
  • Loads of testing

eamonnlambda avatar Nov 01 '23 18:11 eamonnlambda