fix: frm.doc instead of doc

This commit is contained in:
marination
2021-02-08 17:55:26 +05:30
parent 31cd9dcee1
commit 1118949867

View File

@@ -42,7 +42,7 @@ frappe.ui.form.on('Accounting Dimension', {
}); });
} }
frm.toggle_enable('document_type', doc.__islocal); frm.toggle_enable('document_type', frm.doc.__islocal);
}, },
document_type: function(frm) { document_type: function(frm) {