Skip to content

Commit

Permalink
Merge pull request #42163 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-42162

refactor: remove obsolete function call (backport #42162)
  • Loading branch information
ruthra-kumar authored Jul 10, 2024
2 parents fcf6500 + 2cf8256 commit f2f1f32
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ frappe.ui.form.on("Import Supplier Invoice", {
toggle_read_only_fields: function (frm) {
if (["File Import Completed", "Processing File Data"].includes(frm.doc.status)) {
cur_frm.set_read_only();
cur_frm.refresh_fields();
frm.set_df_property("import_invoices", "hidden", 1);
} else {
frm.set_df_property("import_invoices", "hidden", 0);
Expand Down

0 comments on commit f2f1f32

Please sign in to comment.