Able to add options for customized form (#4369)

* exception added to add options

* Update customize_form.py

* Update customize_form.py
This commit is contained in:
Shreya Shah 2017-10-27 15:18:44 +05:30 committed by Rushabh Mehta
parent bd8b57ee9a
commit 7fa97e97fe

View file

@ -68,7 +68,7 @@ allowed_fieldtype_change = (('Currency', 'Float', 'Percent'), ('Small Text', 'Da
('Text', 'Data'), ('Text', 'Text Editor', 'Code', 'Signature'), ('Data', 'Select'),
('Text', 'Small Text'), ('Text', 'Data', 'Barcode'), ('Code', 'Geolocation'))
allowed_fieldtype_for_options_change = ('Read Only', 'HTML', 'Select',)
allowed_fieldtype_for_options_change = ('Read Only', 'HTML', 'Select', 'Data')
class CustomizeForm(Document):
def on_update(self):