mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Bug fix for stock adjustment actions (#3735)
* Check for empty strings as well as null values * JS linting
This commit is contained in:
		@@ -971,7 +971,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