fix: Unable to download GSTR-1 json
This commit is contained in:
parent
00f90c50c0
commit
77f2d2d01e
@ -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…
Reference in New Issue
Block a user