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?