mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
[fix] allow to change doc status on get items (#12174)
This commit is contained in:
committed by
Nabin Hait
parent
389b9a2be3
commit
f06c281964
@@ -245,6 +245,7 @@ erpnext.utils.map_current_doc = function(opts) {
|
|||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(!r.exc) {
|
if(!r.exc) {
|
||||||
var doc = frappe.model.sync(r.message);
|
var doc = frappe.model.sync(r.message);
|
||||||
|
cur_frm.dirty();
|
||||||
cur_frm.refresh();
|
cur_frm.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user