Sync childtables data, handle submin/cancel fail and fixed incorrect form dirty
This commit is contained in:
parent
93064a3292
commit
74c64bcd40
1 changed files with 1 additions and 0 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue