mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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()
|
initials = super(AjaxCreateView, self).get_initial()
|
||||||
|
|
||||||
print("GETTING INITIAL DAtA")
|
|
||||||
|
|
||||||
initials['part'] = self.get_part()
|
initials['part'] = self.get_part()
|
||||||
|
|
||||||
return initials
|
return initials
|
||||||
|
@ -176,13 +176,12 @@ class BomUploadManager:
|
|||||||
try:
|
try:
|
||||||
# Excel import casts number-looking-items into floats, which is annoying
|
# Excel import casts number-looking-items into floats, which is annoying
|
||||||
if item == int(item) and not str(item) == str(int(item)):
|
if item == int(item) and not str(item) == str(int(item)):
|
||||||
print("converting", item, "to", int(item))
|
|
||||||
data[idx] = int(item)
|
data[idx] = int(item)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# Skip empty rows
|
||||||
if empty:
|
if empty:
|
||||||
print("Empty - continuing")
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
row = {
|
row = {
|
||||||
|
@ -147,8 +147,6 @@ class StockItem(models.Model):
|
|||||||
- Quantity must be 1 if the StockItem has a serial number
|
- 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!
|
# The 'supplier_part' field must point to the same part!
|
||||||
try:
|
try:
|
||||||
if self.supplier_part is not None:
|
if self.supplier_part is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user