mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
Added StockTracking API
/api/stock/track/ ListCreate API view StockItem page now shows bootrap-table of tracking notes
This commit is contained in:
@ -320,6 +320,9 @@ class StockItemTracking(models.Model):
|
||||
""" Stock tracking entry
|
||||
"""
|
||||
|
||||
def get_absolute_url(self):
|
||||
return '/stock/track/{id}/'.format(id=self.id)
|
||||
|
||||
# Stock item
|
||||
item = models.ForeignKey(StockItem, on_delete=models.CASCADE,
|
||||
related_name='tracking_info')
|
||||
|
Reference in New Issue
Block a user