Sync childtables data, handle submin/cancel fail and fixed incorrect form dirty

This commit is contained in:
Nabin Hait 2018-03-26 13:24:22 +05:30
parent 93064a3292
commit 74c64bcd40

View file

@ -102,6 +102,7 @@ $.extend(frappe.model, {
update_in_locals: function(doc) {
// update values in the existing local doc instead of replacing
let local_doc = locals[doc.doctype][doc.name];
let meta = frappe.get_meta(doc.doctype);
for (let fieldname in doc) {
let df = frappe.meta.get_field(doc.doctype, fieldname);
if (df && df.fieldtype === 'Table') {