From f06c2819648430b87aa2a8225d1459ec4f28f9ae Mon Sep 17 00:00:00 2001 From: Vishal Dhayagude Date: Tue, 26 Dec 2017 16:22:40 +0530 Subject: [PATCH] [fix] allow to change doc status on get items (#12174) --- erpnext/public/js/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index c83bcd63c1..6841354f47 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(); } }