fix: Make fetch from applicable for select fields
This commit is contained in:
parent
145fd7712d
commit
cfdbff80e8
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ frappe.ui.form.ScriptManager = Class.extend({
|
|||
|
||||
function setup_add_fetch(df) {
|
||||
if((['Data', 'Read Only', 'Text', 'Small Text', 'Currency',
|
||||
'Text Editor', 'Code', 'Link', 'Float', 'Int', 'Date'].includes(df.fieldtype) || df.read_only==1)
|
||||
'Text Editor', 'Code', 'Link', 'Float', 'Int', 'Date', 'Select'].includes(df.fieldtype) || df.read_only==1)
|
||||
&& df.fetch_from && df.fetch_from.indexOf(".")!=-1) {
|
||||
var parts = df.fetch_from.split(".");
|
||||
me.frm.add_fetch(parts[0], parts[1], df.fieldname);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue