fix: Unable to download GSTR-1 json
This commit is contained in:
		
							parent
							
								
									a5200d6a43
								
							
						
					
					
						commit
						fc9714b871
					
				| @ -584,7 +584,7 @@ class Gstr1Report(object): | ||||
| def get_json(filters, report_name, data): | ||||
| 	filters = json.loads(filters) | ||||
| 	report_data = json.loads(data) | ||||
| 	gstin = get_company_gstin_number(filters["company"], filters["company_address"]) | ||||
| 	gstin = get_company_gstin_number(filters.get("company"), filters.get("company_address")) | ||||
| 
 | ||||
| 	fp = "%02d%s" % (getdate(filters["to_date"]).month, getdate(filters["to_date"]).year) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user