mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
style fixes
This commit is contained in:
parent
a18886f196
commit
b2b22762ef
@ -292,6 +292,7 @@ class UninstallStockForm(forms.ModelForm):
|
||||
'confirm',
|
||||
]
|
||||
|
||||
|
||||
class AdjustStockForm(forms.ModelForm):
|
||||
""" Form for performing simple stock adjustments.
|
||||
|
||||
|
@ -625,7 +625,7 @@ class StockItem(MPTTModel):
|
||||
self.addTransactionNote(
|
||||
_('Installed in stock item') + ' ' + str(otherItem.pk),
|
||||
user,
|
||||
notes=notes
|
||||
notes=notes
|
||||
)
|
||||
|
||||
@transaction.atomic
|
||||
|
@ -765,7 +765,7 @@ class StockItemUninstall(AjaxView, FormMixin):
|
||||
stock_item = StockItem.objects.get(pk=pk)
|
||||
items.append(stock_item)
|
||||
except (ValueError, StockItem.DoesNotExist):
|
||||
pass
|
||||
pass
|
||||
|
||||
self.stock_items = items
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user