refactor: replcate deprecated cur_frm

This commit is contained in:
ruthra kumar
2024-12-10 11:14:48 +05:30
parent 6ea9c0c48d
commit 8a710f85e2

View File

@@ -509,8 +509,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
},
callback: function(r) {
if(!r.exc) {
cur_frm.refresh_fields();
refresh_field("items");
me.frm.refresh_fields();
}
}
});