mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
and PEP again
This commit is contained in:
@ -20,7 +20,7 @@ def notify_low_stock(part: part.models.Part):
|
||||
# Pass the "Part" object through to the template context
|
||||
'part': part,
|
||||
'link': InvenTree.helpers.construct_absolute_url(part.get_absolute_url()),
|
||||
'templates':{
|
||||
'templates': {
|
||||
'html': 'email/low_stock_notification.html',
|
||||
'subject': "[InvenTree] " + _("Low stock notification"),
|
||||
},
|
||||
|
Reference in New Issue
Block a user