Skip to content

Release v2.4.3

Latest

Choose a tag to compare

@balpoint balpoint released this 11 Jun 11:57
· 1 commit to master since this release
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+