LavissaWoW / inventree-ipn-generator

Plugin for InvenTree that auto-generates internal part numbers
MIT License
3 stars 2 forks source link

IPN Not Automatically Generating #8

Closed gid204 closed 1 month ago

gid204 commented 1 month ago

Currently my IPNs are not being automatically generated for new/edited parts. Current System Information:

# Version Information:
InvenTree-Version: 0.16.1
Django Version: 4.2.15
Commit Hash: 4c15e5c
Commit Date: 2024-08-30

Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.8.5-301.fc40.x86_64-x86_64-with
Installer: DOC

Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'IPNGenerator', 'slug': 'ipngen', 'version': '0.1'}]

I have Enable event integration enabled and I rebooted the server after changing that setting as per the red banner at the top. image

When I go to add/edit a part and leave the IPN blank, I am not seeing any changes to the IPN field for that part.

Here are my plugin settings: image

I also noticed the plugin version is 0.1 whereas it looks like on this repo we're up to 0.1.1. Not sure if this is related. I installed via the GUI on the plugin settings page.

Thanks!

gid204 commented 1 month ago

Okay I resolved my issue :)

Turns out my inventree worker wasn't running because my compose file was older and causing it to crash. https://github.com/inventree/InvenTree/pull/8126