mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-18 22:17:51 +00:00
Adds notification when items are received against a purcahse order (#3259)
This commit is contained in:
1 parent
b13e12b7bd
commit
ad57ca5ddf
3 files changed
+27
No files matched your search
@@ -296,6 +296,13 @@ class InvenTreeNotificationBodies:
|
||||
)
|
||||
"""Send when a new order (build, sale or purchase) was created."""
|
||||
|
||||
ItemsReceived = NotificationBody(
|
||||
name=_("Items Received"),
|
||||
slug='purchase_order.items_received',
|
||||
message=_('Items have been received against a purchase order'),
|
||||
template='email/purchase_order_received.html',
|
||||
)
|
||||
|
||||
|
||||
def trigger_notification(obj, category=None, obj_ref='pk', **kwargs):
|
||||
"""Send out a notification."""
|
||||
|
||||
Reference in new issue
Block a user