github mlebreuil/netbox-contract v2.6.1

one hour ago

Enhancements

  • #333 - Contracts can be found by the name of their external party: the contract list search also matches the name of the service provider or circuit provider, and a new filter external_party_name (with __ic, __ie and __n) is available in the contract list, the REST API and GraphQL, next to service_provider_id and provider_id. The search still lists only Active contracts; global search is unchanged

Bug Fixes

  • #317 - The external party columns of the contract and contract assignment tables can no longer be sorted, which raised a FieldError and, because NetBox remembers the sort, broke the Contracts tab of every object

Other Changes

  • #322 - New command manage.py create_demo_data creates tagged demo scenarios for development (contract lines of each billing method, hierarchy, invoices in each status, amendments, legacy data, numeric edge cases); it replaces the create-demo-data.py custom script, refuses to run unless DEVELOPER = True and supports --reset
  • #329 - The reverse name of a contract's tenant is now netbox_contract_contracts instead of contracts, so that it cannot clash with another plugin; code outside the plugin that reads tenant.contracts must use the new name, the screens, REST API and GraphQL are not affected, and the state-only migration 0056 changes no data

REST API Changes

  • netbox_contract.Contract
    • Added the filter external_party_name (with __ic, __ie and __n) to GET /api/plugins/contracts/contracts/; q also matches the name of the service provider or circuit provider

Don't miss a new netbox-contract release

NewReleases is sending notifications on new releases.