Add ability to edit 'delete_on_deplete' field

This commit is contained in:
Oliver Walters 2019-05-09 23:06:19 +10:00
parent ac326c135f
commit 027e1cf130
2 changed files with 7 additions and 5 deletions

View File

@ -34,6 +34,7 @@ class CreateStockItemForm(HelperForm):
'location', 'location',
'batch', 'batch',
'quantity', 'quantity',
'delete_on_deplete',
'status', 'status',
'notes', 'notes',
'URL', 'URL',
@ -78,6 +79,7 @@ class EditStockItemForm(HelperForm):
fields = [ fields = [
'supplier_part', 'supplier_part',
'batch', 'batch',
'delete_on_deplete',
'status', 'status',
'notes', 'notes',
'URL', 'URL',