reload doc before auto nification

This commit is contained in:
Nabin Hait 2012-09-05 12:59:07 +05:30
parent e642805882
commit d948e9b15c

View File

@ -26,6 +26,7 @@ cur_frm.cscript.select_transaction = function(doc, cdt, cdn) {
}
cur_frm.cscript.notify = function(doc, args) {
var doc = locals[doc.doctype][doc.name];
$c_obj(make_doclist(doc.doctype, doc.name), 'get_formatted_message', {
type: args['type'],
doctype: args['doctype'],