Skip to content

Commit

Permalink
Merge pull request #30651 from deepeshgarg007/gst_download_json_key_e…
Browse files Browse the repository at this point in the history
…rror

fix: Download JSON for GSTR-1 report
  • Loading branch information
deepeshgarg007 authored Apr 11, 2022
2 parents 014298a + 79b9011 commit 7d263e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/regional/report/gstr_1/gstr_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 7d263e9

Please sign in to comment.