Skip to content

Commit

Permalink
refactor: remove obsolete function call (#42162)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4512432)
  • Loading branch information
Mutantpenguin authored and mergify[bot] committed Jul 3, 2024
1 parent 26c9935 commit 2cf8256
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 2cf8256

Please sign in to comment.