From 6d06a0c50a399cb4f2e1a39e1098f862788737ff Mon Sep 17 00:00:00 2001 From: Sanket322 Date: Fri, 25 Oct 2024 19:16:55 +0530 Subject: [PATCH] refactor: no need to refresh fields --- india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js b/india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js index 09bb9701d..7879a4923 100644 --- a/india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js +++ b/india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js @@ -164,8 +164,6 @@ frappe.ui.form.on(DOCTYPE, { frm.doc.is_quarterly = filters.is_quarterly set_options_for_month_or_quarter(frm, set_only_options=true); frm.doc.month_or_quarter = filters.month_or_quarter - frm.refresh_field("is_quarterly") - frm.refresh_field("month_or_quarter") frappe.after_ajax(() => { frm.doc.__gst_data = data ;