Skip to content

Commit

Permalink
refactor: no need to refresh fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Oct 25, 2024
1 parent cb29986 commit 6d06a0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down

0 comments on commit 6d06a0c

Please sign in to comment.