Error in customizing Doctype

Hi there,
I have added some custom fields in Doctype Job applicant and also to other Doctypes aswell.
The error i am getting is the fields that i have added through HR>Job Applicant>menu>customize
these fields are visible over there but when i try to customize Doctype through Setup>Doctype>Job applicant over there the fields are not visible which i have added earlier.
And also when i try to change the field type from HR>job applicant>menu>customise and change the field of a custom field it gives an error as follows

Traceback (most recent call last):
File “/home/maverik/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/maverik/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/maverik/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/maverik/frappe-bench/apps/frappe/frappe/init.py”, line 884, in call
return fn(*args, **newargs)
File “/home/maverik/frappe-bench/apps/frappe/frappe/handler.py”, line 67, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/run_method.py”, line 35, in runserverobj
r = doc.run_method(method)
File “/home/maverik/frappe-bench/apps/frappe/frappe/model/document.py”, line 661, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/maverik/frappe-bench/apps/frappe/frappe/model/document.py”, line 839, in composer
return composed(self, method, *args, **kwargs)
File “/home/maverik/frappe-bench/apps/frappe/frappe/model/document.py”, line 822, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/maverik/frappe-bench/apps/frappe/frappe/model/document.py”, line 655, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/maverik/frappe-bench/apps/frappe/frappe/custom/doctype/customize_form/customize_form.py”, line 136, in save_customization
self.set_name_translation()
File “/home/maverik/frappe-bench/apps/frappe/frappe/custom/doctype/customize_form/customize_form.py”, line 112, in set_name_translation
if self.label:
AttributeError: ‘CustomizeForm’ object has no attribute ‘label’

What could be wrong?
Other than that the fields are also not visible.
What can i try?

@Ujjawal

Added custom fields only visible through Customize Form.
They are not shown in the doctype.

If you added something from Doctype remove it and add through Customize Form and try again

But am trying to change the fields i have added from customize itself.
The fields have not been added from doctype,
And trying to change the fields field type from customize i am getting this error.

In employee Doctype i have added fields using Doctype from setup but not in job applicant.
Job applicant is raw.!

@Ujjawal

It’s ok when you change field type for added custom field. It Seems like you doing something wrong.
Better way remove added field from Customize Form as well as delete it from custom field list.
and add it again.

If i keep it this way are there any chances that i may get errors in future while using these values?
Right Now my work i being done though i get an error but still gets saved.
So the custom fields does get changed even after raising errors.

Sir in below link i have other issues please see to it too.