From c81f8e6d878acfc788b3faa3baad4a857a2fabaa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 15 Aug 2019 13:17:33 +1000 Subject: [PATCH] Add 'new supplier part' button to stock item creation form --- InvenTree/stock/templates/stock/location.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 263115104e..8fbf26166d 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -131,6 +131,12 @@ title: 'Create New Part', url: "{% url 'part-create' %}", }, + { + field: 'supplier_part', + label: 'New Supplier Part', + title: 'Create new Supplier Part', + url: "{% url 'supplier-part-create' %}" + }, { field: 'location', label: 'New Location',