From f3b17b2164efff47139a0d0bd9377e5917b81b3c Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 26 May 2019 00:32:18 +1000 Subject: [PATCH] Add some form fields (might have to remove later) --- InvenTree/part/forms.py | 1 + InvenTree/stock/forms.py | 1 + 2 files changed, 2 insertions(+) diff --git a/InvenTree/part/forms.py b/InvenTree/part/forms.py index 4b91d3bc22..cbc1cdaf8c 100644 --- a/InvenTree/part/forms.py +++ b/InvenTree/part/forms.py @@ -94,6 +94,7 @@ class EditPartForm(HelperForm): 'IPN', 'variant', 'is_template', + 'variant_of', 'description', 'keywords', 'URL', diff --git a/InvenTree/stock/forms.py b/InvenTree/stock/forms.py index ee8592bbb9..a05c8caef0 100644 --- a/InvenTree/stock/forms.py +++ b/InvenTree/stock/forms.py @@ -34,6 +34,7 @@ class CreateStockItemForm(HelperForm): 'location', 'quantity', 'batch', + 'serial', 'delete_on_deplete', 'status', 'notes',