2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Fix rendering of BOM table view

- Edit and delete rows now works
This commit is contained in:
Oliver Walters
2019-04-26 23:32:22 +10:00
parent cec61655cf
commit e57a8cdcd1
2 changed files with 3 additions and 3 deletions

View File

@ -337,7 +337,7 @@ class BomItem(models.Model):
"""
def get_absolute_url(self):
return reverse('bom-detail', kwargs={'pk': self.id})
return reverse('bom-item-detail', kwargs={'pk': self.id})
# A link to the parent part
# Each part will get a reverse lookup field 'bom_items'