fix: Download JSON for GSTR-1 report

(cherry picked from commit b532ade383)
This commit is contained in:
Deepesh Garg
2022-04-08 17:14:10 +05:30
committed by mergify-bot
parent 54ea9319a1
commit 9efc0d1043

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: {