[fix] Customize Form: allow changing 'Text' to 'Small Text'

This commit is contained in:
Anand Doshi 2014-08-05 17:40:23 +05:30
parent 96f0919fd1
commit 36c553602f

View file

@ -45,7 +45,7 @@ class CustomizeForm(Document):
}
allowed_fieldtype_change = (('Currency', 'Float', 'Percent'), ('Small Text', 'Data'),
('Text', 'Text Editor', 'Code'), ('Data', 'Select'))
('Text', 'Text Editor', 'Code'), ('Data', 'Select'), ('Text', 'Small Text'))
def on_update(self):
frappe.db.sql("delete from tabSingles where doctype='Customize Form'")