diff --git a/shimatta_kenkyusho/parts/views.py b/shimatta_kenkyusho/parts/views.py index 81d8a25..585f19f 100644 --- a/shimatta_kenkyusho/parts/views.py +++ b/shimatta_kenkyusho/parts/views.py @@ -598,7 +598,7 @@ class StockViewDetail(LoginRequiredMixin, BaseTemplateMixin, DetailView): if 'submit-add-storage' in request.POST: return self.handle_add_storage_post(request, **kwargs) - if 'submit-change-storage' in request.POST: + elif 'submit-change-storage' in request.POST: return self.handle_change_storage_post(request, **kwargs) elif 'submit-delete-storage' in request.POST: return self.handle_del_storage_post(request, **kwargs)