This commit is contained in:
Stefan Strobel 2025-01-25 16:23:55 +01:00
parent e4e7456a5d
commit 3ec11cf092
2 changed files with 1 additions and 2 deletions

View File

@ -158,7 +158,6 @@ class EditLotForm(EditStockBaseForm):
stock.save() stock.save()
class EditStockAmountForm(EditStockBaseForm): class EditStockAmountForm(EditStockBaseForm):
stock_uuid = forms.UUIDField()
amount = forms.IntegerField(min_value=0) amount = forms.IntegerField(min_value=0)
def save(self, increase: bool): def save(self, increase: bool):

View File

@ -133,7 +133,7 @@
{% with add_storage_form as form %} {% with add_storage_form as form %}
{% include 'parts/modals/add-substorage-modal.html' %} {% include 'parts/modals/add-substorage-modal.html' %}
{% endwith %} {% endwith %}
<!-- Modal to change current storag--> <!-- Modal to change current storage-->
{% with change_storage_form as form %} {% with change_storage_form as form %}
{% include 'parts/modals/change-storage-modal.html' %} {% include 'parts/modals/change-storage-modal.html' %}
{% endwith %} {% endwith %}