This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[minor] fixed the set_query for the doctype field in Custom Field (
#3275
)
version-14
Makarand Bauskar
8 years ago
committed by
Rushabh Mehta
parent
002e27e8a5
commit
b8f1fdc92e
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
frappe/custom/doctype/custom_field/custom_field.js
+ 3
- 1
frappe/custom/doctype/custom_field/custom_field.js
View File
@@ -13,7 +13,9 @@ frappe.ui.form.on('Custom Field', {
if(user!=="Administrator") {
filters.push(['DocType', 'module', '!=', 'Core'])
}
return filters
return {
"filters": filters
}
});
},
refresh: function(frm) {
Write
Preview
Loading…
Cancel
Save