diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index c83bcd63c19..6841354f47a 100644 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -245,6 +245,7 @@ erpnext.utils.map_current_doc = function(opts) { callback: function(r) { if(!r.exc) { var doc = frappe.model.sync(r.message); + cur_frm.dirty(); cur_frm.refresh(); } }