mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove debug print
This commit is contained in:
parent
47a4ab2ed8
commit
046a00026c
@ -1066,7 +1066,6 @@ class StockItemCreate(AjaxCreateView):
|
|||||||
# Could not extract a part object
|
# Could not extract a part object
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def get_form(self):
|
def get_form(self):
|
||||||
""" Get form for StockItem creation.
|
""" Get form for StockItem creation.
|
||||||
Overrides the default get_form() method to intelligently limit
|
Overrides the default get_form() method to intelligently limit
|
||||||
@ -1081,8 +1080,6 @@ class StockItemCreate(AjaxCreateView):
|
|||||||
sn = part.getNextSerialNumber()
|
sn = part.getNextSerialNumber()
|
||||||
form.field_placeholder['serial_numbers'] = _('Next available serial number is') + ' ' + str(sn)
|
form.field_placeholder['serial_numbers'] = _('Next available serial number is') + ' ' + str(sn)
|
||||||
|
|
||||||
print("Placeholder:", sn)
|
|
||||||
|
|
||||||
form.rebuild_layout()
|
form.rebuild_layout()
|
||||||
|
|
||||||
# Hide the 'part' field (as a valid part is selected)
|
# Hide the 'part' field (as a valid part is selected)
|
||||||
|
Loading…
Reference in New Issue
Block a user