mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
refactor: replcate deprecated cur_frm
This commit is contained in:
@@ -509,8 +509,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(!r.exc) {
|
if(!r.exc) {
|
||||||
cur_frm.refresh_fields();
|
me.frm.refresh_fields();
|
||||||
refresh_field("items");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user