Remove old debug messages

This commit is contained in:
Oliver Walters 2019-07-11 12:56:10 +10:00
parent 377b2f94ce
commit 23d19d6784
3 changed files with 1 additions and 6 deletions

View File

@ -235,8 +235,6 @@ class PriceBreakCreate(AjaxCreateView):
initials = super(AjaxCreateView, self).get_initial()
print("GETTING INITIAL DAtA")
initials['part'] = self.get_part()
return initials

View File

@ -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 = {

View File

@ -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: