refactor: remove obsolete function call (#42162)
(cherry picked from commit 4512432816)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user