2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Refactor function naming

This commit is contained in:
Oliver Walters
2020-05-16 12:03:18 +10:00
parent 4cb97b1340
commit 3d0bea15ae
6 changed files with 20 additions and 20 deletions

View File

@ -282,7 +282,7 @@ class BuildComplete(AjaxUpdateView):
existing = []
for serial in serials:
if not StockItem.check_serial_number(build.part, serial):
if build.part.checkIfSerialNumberExists(serial):
existing.append(serial)
if len(existing) > 0: