mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 09:38:31 +00:00
fix: frm.doc instead of doc
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user