fix(Data Import): get doctype fields on change (#7213)
This commit is contained in:
parent
2eeee7d020
commit
1d577da7d2
1 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,12 @@ frappe.ui.form.on('Data Import', {
|
|||
});
|
||||
},
|
||||
|
||||
reference_doctype: function(frm){
|
||||
if (frm.doc.reference_doctype) {
|
||||
frappe.model.with_doctype(frm.doc.reference_doctype);
|
||||
}
|
||||
},
|
||||
|
||||
refresh: function(frm) {
|
||||
frm.disable_save();
|
||||
frm.dashboard.clear_headline();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue