Open tpx-mk opened 4 months ago
Hi, I don't this is feasible outside of core NetBox objects, as we cannot enforce dependencies on other plugins being installed.
@tpx-mk: You mean this plugin, right? https://github.com/ArnesSI/netbox-inventory
I've known about the inventory plugin for a while, but I didn't realise the added value. That's why we hadn't installed it in the production system. Because many things would also be possible via the devices. Today I took another look at the plugin because it's getting more and more complex for us :D
The plugin is actually useful, but yes, an inventory label is missing.
To your delight, I have just managed to integrate the plugin. But I still have to work it out next week so that it fits this pull request: https://github.com/netbox-community/netbox-qrcode/pull/84
@cruse1977: I was able to write it without VSCode debug. But since I still had a bug in https://github.com/netbox-community/netbox-qrcode/pull/84, I would never have found the problem if I hadn't written this pull request https://github.com/netbox-community/netbox-qrcode/pull/80 to debug it with Brakpoints ;)
Integration into all objects is another matter. I think it might be possible, but I'll have to ask the community. But once the inventory plugin is built in, the next step shouldn't be complicated if you know how :D
For posterity :D This version currently supports the version shown above. https://github.com/netbox-community/netbox-qrcode/tree/0f610ac8a51110f5fa297c98517924745ea321b6
I'd like to have an option to create QRcodes for e.g. assets (of the netbox-inventory plugin) or some other custom objects/object types provided by other plugins.