fix: Set color control as Data while adding filter

(cherry picked from commit b22e5ddcb2)
This commit is contained in:
Suraj Shetty 2021-03-24 17:37:44 +05:30 committed by mergify-bot
parent 8137bf5d82
commit 1b8710fc45

View file

@ -495,6 +495,7 @@ frappe.ui.filter_utils = {
'Dynamic Link',
'Read Only',
'Assign',
'Color',
].indexOf(df.fieldtype) != -1
) {
df.fieldtype = 'Data';