-
-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email Notification When Stock Level Drops Below Minimum? #8452
Comments
Alright, I had a notification set on the category, but no notification was triggered on the web interface, nor did I receive an email. When I set the notification directly on the "part," it works as expected. It seems like setting it on the category doesn’t work? Workflow question: Regarding variants, I would like to receive a notification whenever an individual variant falls below the minimum stock level. If I understand correctly, I now have to activate the notification for each part/variant individually? If I set a minimum stock level on the reference part, a notification is only triggered when the total of all variants falls below the minimum, which makes sense, but how can I receive a notification for each variant without activating them all individually? And setting it on the category doesn’t work at all? |
@skydiablo this seems related to these fixes, maybe?
Could you try to recreate this across a number of different part / category combinations? The notifcation based on subscibred category should be working fine? |
hmmm, i have try to trigger a new notification, no success :( independed how i subscribe to the part. no notification at all. is there any dependecies how long a state have to be, between add and remove the stock items? |
For a single given part/user combination, low-stock notifications won't be sent more than once per day. You can try with a different part? |
same as above but remove the category subscription and subscribe direct the variant --> nothing happen :( |
You should be able to see if the notification entry has been created, in the admin interface, e.g. http://localhost:8000/admin/common/notificationentry/ (replace "localhost:8000" with your server name) For example: |
Please verify that this bug has NOT been raised before.
Describe the bug*
I'm not receiving email notifications when a part's stock level drops below the set minimum, even though email functionality is working, and notifications are enabled in the user settings.
Could this issue (#7866) be addressing the same question?
Steps to Reproduce
Expected behaviour
An email notification should be sent when the stock level falls below the minimum threshold.
Deployment Method
Version Information
Version Information:
InvenTree-Version: 0.16.8
Django Version: 4.2.15
Database: sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-6.8.12-2-pve-x86_64-with-glibc2.31
Installer: None
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'}]
Please verify if you can reproduce this bug on the demo site.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: