fix: Download JSON for GSTR-1 report

This commit is contained in:
Deepesh Garg 2022-04-08 17:14:10 +05:30
parent c9d6618b9b
commit b532ade383

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