Only run check stock function when updating an existing part

This commit is contained in:
Oliver committed 2021-11-04 14:32:42 +11:00
1 parent 99b324d1ef
commit 01191d84c5
3 files changed
+6 -7

No files matched your search

-2
View File
@@ -8,8 +8,6 @@ import decimal
import os
from datetime import datetime
from django import dispatch
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError