mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS linting fixes
This commit is contained in:
parent
f6ffef66e0
commit
22892565ed
@ -543,7 +543,7 @@ class StockList(generics.ListCreateAPIView):
|
||||
item.pk = None
|
||||
item.serial = serial
|
||||
|
||||
item.save()
|
||||
item.save(user=user)
|
||||
|
||||
response_data = {
|
||||
'quantity': quantity,
|
||||
|
@ -2291,8 +2291,7 @@ function loadStockAllocationTable(table, options={}) {
|
||||
} else if (row.order) {
|
||||
|
||||
// Add an icon for the customer
|
||||
html += thumbnailImage(
|
||||
row.customer_detail.thumbnail || row.customer_detail.image, {
|
||||
html += thumbnailImage(row.customer_detail.thumbnail || row.customer_detail.image, {
|
||||
title: row.customer_detail.name,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user