mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-15 00:38:12 +00:00
* Check for empty strings as well as null values
* JS linting
(cherry picked from commit 1f2859d8c9)
This commit is contained in:
@@ -967,7 +967,7 @@ function adjustStock(action, items, options={}) {
|
|||||||
|
|
||||||
var item = items[idx];
|
var item = items[idx];
|
||||||
|
|
||||||
if ((item.serial != null) && !allowSerializedStock) {
|
if ((item.serial != null) && (item.serial != '') && !allowSerializedStock) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user