mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
Only run check stock function when updating an existing part
This commit is contained in:
@ -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
|
||||
|
@ -9,8 +9,6 @@ from django.template.loader import render_to_string
|
||||
|
||||
from allauth.account.models import EmailAddress
|
||||
|
||||
from common.models import NotificationEntry
|
||||
|
||||
import build.models
|
||||
import InvenTree.helpers
|
||||
import InvenTree.tasks
|
||||
|
Reference in New Issue
Block a user