Merge pull request #30651 from deepeshgarg007/gst_download_json_key_error

fix: Download JSON for GSTR-1 report
This commit is contained in:
Deepesh Garg 2022-04-12 00:06:25 +05:30 committed by GitHub
commit 7d263e9ecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,9 @@ frappe.query_reports["GSTR-1"] = {
}
});
report.page.add_inner_button(__("Download as JSON"), function () {
let filters = report.get_values();
frappe.call({
method: 'erpnext.regional.report.gstr_1.gstr_1.get_json',
args: {