Browse Source

Able to add options for customized form (#4369)

* exception added to add options

* Update customize_form.py

* Update customize_form.py
version-14
Shreya Shah 7 years ago
committed by Rushabh Mehta
parent
commit
7fa97e97fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/custom/doctype/customize_form/customize_form.py

+ 1
- 1
frappe/custom/doctype/customize_form/customize_form.py 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):


Loading…
Cancel
Save