diff --git a/frappe/core/doctype/data_import/importer_new.py b/frappe/core/doctype/data_import/importer_new.py index 1f446cfb39..21b6065ff1 100644 --- a/frappe/core/doctype/data_import/importer_new.py +++ b/frappe/core/doctype/data_import/importer_new.py @@ -351,9 +351,9 @@ class Importer: value = cstr(value) # convert boolean values to 0 or 1 - if df.fieldtype == "Check" and value.lower().strip() in ["t", "f", "true", "false"]: + if df.fieldtype == "Check" and value.lower().strip() in ["t", "f", "true", "false", "yes", "no", "y", "n"]: value = value.lower().strip() - value = 1 if value in ["t", "true"] else 0 + value = 1 if value in ["t", "true", "y", "yes"] else 0 if df.fieldtype in ["Int", "Check"]: value = cint(value)