Type fixes

This commit is contained in:
Oliver Walters 2020-05-25 14:24:29 +10:00
parent 0d052334e2
commit d2c1e9e2b0
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ stock_location_detail_urls = [
stock_item_detail_urls = [ stock_item_detail_urls = [
url(r'^edit/', views.StockItemEdit.as_view(), name='stock-item-edit'), url(r'^edit/', views.StockItemEdit.as_view(), name='stock-item-edit'),
url(r'^convert/', views.StockItemEdit.as_view(), name='stock-item-convert'), url(r'^convert/', views.StockItemConvert.as_view(), name='stock-item-convert'),
url(r'^serialize/', views.StockItemSerialize.as_view(), name='stock-item-serialize'), url(r'^serialize/', views.StockItemSerialize.as_view(), name='stock-item-serialize'),
url(r'^delete/', views.StockItemDelete.as_view(), name='stock-item-delete'), url(r'^delete/', views.StockItemDelete.as_view(), name='stock-item-delete'),
url(r'^qr_code/', views.StockItemQRCode.as_view(), name='stock-item-qr'), url(r'^qr_code/', views.StockItemQRCode.as_view(), name='stock-item-qr'),

View File

@ -887,7 +887,7 @@ class StockItemEdit(AjaxUpdateView):
return form return form
class StockItemEdit(AjaxUpdateView): class StockItemConvert(AjaxUpdateView):
""" """
View for 'converting' a StockItem to a variant of its current part. View for 'converting' a StockItem to a variant of its current part.
""" """