fix: Remove unintended changes
This commit is contained in:
		
							parent
							
								
									5a2b571aa9
								
							
						
					
					
						commit
						a61790c00f
					
				| @ -1954,6 +1954,7 @@ def update_bin_on_delete(row, doctype): | |||||||
| 
 | 
 | ||||||
| 		qty_dict["ordered_qty"] = get_ordered_qty(row.item_code, row.warehouse) | 		qty_dict["ordered_qty"] = get_ordered_qty(row.item_code, row.warehouse) | ||||||
| 
 | 
 | ||||||
|  | 	if row.warehouse: | ||||||
| 		update_bin_qty(row.item_code, row.warehouse, qty_dict) | 		update_bin_qty(row.item_code, row.warehouse, qty_dict) | ||||||
| 
 | 
 | ||||||
| def validate_and_delete_children(parent, data): | def validate_and_delete_children(parent, data): | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user