allowing interchanging data and select, fixes frappe/erpnext#1734

This commit is contained in:
Rushabh Mehta 2014-06-05 16:17:53 +05:30
parent c63fff185c
commit ff4e90a0f4

View file

@ -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'")