Skip to content

Releases: balpoint/netbox-inventory

Release v2.4.3

Choose a tag to compare

@balpoint balpoint released this 11 Jun 11:57
492fa95

πŸ› Bug Fixes

Contract Form Field Error Resolution

  • Fixed critical form error when editing contracts with assigned contacts
    • Resolved FieldError: Cannot resolve keyword 'contacts' into field that prevented editing contracts
    • Corrected incorrect field references from 'contacts' (plural) to 'contact' (singular) in form initial_params
    • Affects AssetForm, DeliveryForm, and ContractForm dynamic field filtering

Technical Details

  • Fixed form field references in netbox_inventory/forms/models.py
  • The error occurred when Django's dynamic form fields tried to filter contacts by group
  • Issue manifested when users attempted to edit contracts that had contacts assigned

πŸ”§ Changes

  • Updated form field parameter references for contact group filtering
  • Improved form validation and field resolution consistency

πŸ“¦ Installation

Install from source:

pip install --upgrade git+https://github.com/balpoint/netbox-inventory.git@v2.4.3

πŸ”„ Upgrade Notes

  • No database migrations required
  • No configuration changes needed
  • Restart NetBox services after upgrade: sudo systemctl restart netbox netbox-rq

πŸ§ͺ Compatibility

  • NetBox 4.3.1+ (NetBox 4.3.2 compatibility in development)
  • Python 3.10+

v2.4.2 - NetBox 4.3.x Compatibility & Migration Fixes

Choose a tag to compare

@balpoint balpoint released this 05 Jun 18:30
1dbdfe5

πŸš€ What's New

  • NetBox 4.3.x compatibility - Full support for the latest NetBox version
  • Migration consolidation - Fixed duplicate migration conflicts causing deployment errors

πŸ”§ Bug Fixes

  • Resolved "column contact_id already exists" error during upgrades
  • Consolidated redundant contract field migrations (0011 β†’ 0012)
  • Improved migration sequence for clean deployments

πŸ“‹ Migration Notes

  • Contact field uses PROTECT deletion behavior for data integrity
  • Existing deployments should verify database constraints match expectations

πŸ”„ Compatibility

  • NetBox 4.2.9: Use version 2.4.1
  • NetBox 4.3.x: Use version 2.4.2

Full Changelog: v2.4.1...v2.4.2

What's Changed

  • v2.4.2 - NetBox 4.3.x Compatibility & Migration Fixes by @balpoint in #3

Full Changelog: v2.4.1...v2.4.2

v2.4.1 - Contract Management System

Choose a tag to compare

@balpoint balpoint released this 05 Jun 18:18
44a0982

πŸŽ‰ NetBox Inventory v2.4.1 - Alpha Release

⚠️ Alpha Release Notice: This is an alpha release intended for testing and evaluation. While feature-complete, please test thoroughly in non-production environments before deploying to production systems.

🌟 Major New Features

πŸ“„ Contract Management System

Transform your asset management with comprehensive contract lifecycle tracking:

  • πŸ“‹ Contract Types: Warranty, Support, Service, Maintenance, and Lease contracts
  • πŸ“Š Status Tracking: Active, Expired, Cancelled, Pending, and Renewed statuses
  • πŸ’° Financial Management: Cost tracking with multi-currency support
  • πŸ“… Date Management: Start dates, end dates, and renewal date tracking
  • πŸ”— Asset Integration: Many-to-many relationships between contracts and assets

🎯 Smart Contract Overview

  • ⏰ Days Until Expiry: Intelligent expiry tracking with color-coded urgency indicators
    • πŸ”΄ Expired: Red alert with warning icon
    • 🟑 ≀30 days: Yellow warning for immediate attention
    • πŸ”΅ ≀90 days: Blue info for planning purposes
    • βšͺ >90 days: Standard display for stable contracts
  • πŸ”„ Sortable Expiry Column: Click to sort by urgency (A-Z = most urgent first)
  • πŸ” Advanced Filtering: Filter by supplier, type, status, dates, cost, and more

πŸ™ Acknowledgments

Special thanks to the NetBox community and all contributors who made this release possible. Your feedback and contributions drive continuous improvement.


πŸ“₯ Installation: pip install git+https://github.com/balpoint/netbox-inventory.git@v2.4.0a

πŸ”— Documentation: Plugin Documentation

πŸ› Issues: GitHub Issues

πŸ’¬ Discussions: GitHub Discussions

v2.4.0 - Add Contracts

Choose a tag to compare

@balpoint balpoint released this 04 Jun 12:11
95a9ecb
Update pyproject.toml