Getting error while importing data for employee promotion

I made a simple data import for employee promotion but when I submit it gives me error:

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/data_import/”, line 409, in upload
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 848, in submit
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 837, in _submit
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 260, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 313, in _save
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 908, in run_post_save_methods
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 1048, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 766, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/mujadidia_hr/mujadidia_hr/mujadidia_hr/doctype/employee_promotion/”, line 33, in on_submit
employee = update_employee(employee, self.promotion_details, date=self.promotion_date)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/”, line 109, in update_employee
fieldtype = frappe.get_meta(“Employee”).get_field(item.fieldname).fieldtype
AttributeError: ‘NoneType’ object has no attribute ‘fieldtype’

Hi yours is a custom app and you offer no insight what you have tried or found?

A search on that error will get you response ideas to try for example this While saving sales order iam facing this issue?

You may have to review and try the forum q&a list, please do report here the result as that will help others.