From ff4e90a0f4b02d6c507ab32e6ba9b5ebb59dc6fc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 5 Jun 2014 16:17:53 +0530 Subject: [PATCH] allowing interchanging data and select, fixes frappe/erpnext#1734 --- frappe/core/doctype/customize_form/customize_form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/customize_form/customize_form.py b/frappe/core/doctype/customize_form/customize_form.py index 5167982daa..ca34d5799e 100644 --- a/frappe/core/doctype/customize_form/customize_form.py +++ b/frappe/core/doctype/customize_form/customize_form.py @@ -45,7 +45,7 @@ class CustomizeForm(Document): } allowed_fieldtype_change = (('Currency', 'Float'), ('Small Text', 'Data'), - ('Text', 'Text Editor', 'Code')) + ('Text', 'Text Editor', 'Code'), ('Data', 'Select')) def on_update(self): frappe.db.sql("delete from tabSingles where doctype='Customize Form'")