fix: total stock summary report not working
This commit is contained in:
		
							parent
							
								
									e91b0021ac
								
							
						
					
					
						commit
						6a5a380c07
					
				| @ -51,7 +51,7 @@ def get_total_stock(filters): | ||||
| 			INNER JOIN `tabWarehouse` warehouse | ||||
| 				ON warehouse.name = ledger.warehouse | ||||
| 			WHERE | ||||
| 				actual_qty != 0 %s""" % (columns, conditions)) | ||||
| 				ledger.actual_qty != 0 %s""" % (columns, conditions)) | ||||
| 
 | ||||
| def validate_filters(filters): | ||||
| 	if filters.get("group_by") == 'Company' and \ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user