This version of netbox-inventory is only compatible with netbox v4.5.0 and newer.
Breaking change
Netbox 4.5 introduced Resource Ownership. Netbox inventory adds support for setting object owners for the following objects:
- Assets
- Inventory Item Types
- Inventory Item Groups
- Suppliers
- Purchases
- Deliveries
- Audit Flows
- Audit Flow Pages
- Audit Flow Sources
To keep ownership experience consistent with the rest of netbox, existing owner field on Asset needed to be renamed. It is now called "owning tenant". This also better represents this asset - tenant relationship. This is a breaking change. Any existing API integrations, netbox scripts, export templates, custom links, event rules and permissions that reference Asset.owner need to be updated to use Asset.owning_tenant after the upgrade.
Existing Asset.owner data will be automatically migrated to Asset.owning_tenant during upgrade process (via DB migrations). This was tested on existing installs and seems to work fine. However it is highly recommended to take a database backup before the upgrade.
Other changes
- fix: add storage location as nullable in bulk edit by @reuben-thundergrid in #270
- Fix for compatibility with netbox v4.5.0 by @a084ed22 in #273
- update requirements & CI for netbox 4.5 by @matejv in #276
- Update filters to support additional lookup modifiers by @matejv in #280
- Add ownership support by @matejv in #278
- update Asset assign forms to be able to filter on site by @matejv in #283
- name root API view by @matejv in #275
- Update asset edit form by @matejv in #277
- Audit views cleanup by @matejv in #279
- add tags field to Audit Trail Source forms by @matejv in #281
- Fix asset columns on core netbox tables by @matejv in #282
New Contributors
- @reuben-thundergrid made their first contribution in #270
- @a084ed22 made their first contribution in #273
Full Changelog: v2.4.1...2.5.0