Merge pull request #12727 from prssanna/checkbox-fetch-from
fix: enable fetch from for Check fieldtype
This commit is contained in:
commit
c438359d3f
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ frappe.ui.form.ScriptManager = Class.extend({
|
|||
}
|
||||
|
||||
function setup_add_fetch(df) {
|
||||
if((['Data', 'Read Only', 'Text', 'Small Text', 'Currency',
|
||||
if ((['Data', 'Read Only', 'Text', 'Small Text', 'Currency', 'Check',
|
||||
'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(".");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue