mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove old debug messages
This commit is contained in:
parent
377b2f94ce
commit
23d19d6784
@ -235,8 +235,6 @@ class PriceBreakCreate(AjaxCreateView):
|
||||
|
||||
initials = super(AjaxCreateView, self).get_initial()
|
||||
|
||||
print("GETTING INITIAL DAtA")
|
||||
|
||||
initials['part'] = self.get_part()
|
||||
|
||||
return initials
|
||||
|
@ -176,13 +176,12 @@ class BomUploadManager:
|
||||
try:
|
||||
# Excel import casts number-looking-items into floats, which is annoying
|
||||
if item == int(item) and not str(item) == str(int(item)):
|
||||
print("converting", item, "to", int(item))
|
||||
data[idx] = int(item)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
# Skip empty rows
|
||||
if empty:
|
||||
print("Empty - continuing")
|
||||
continue
|
||||
|
||||
row = {
|
||||
|
@ -147,8 +147,6 @@ class StockItem(models.Model):
|
||||
- Quantity must be 1 if the StockItem has a serial number
|
||||
"""
|
||||
|
||||
print("Trying to clean the StockItem")
|
||||
|
||||
# The 'supplier_part' field must point to the same part!
|
||||
try:
|
||||
if self.supplier_part is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user