@Marcin_Walkow the Full track trace
Traceback (most recent call last):
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 22, in savedocs
doc.save()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
return self._save(*args, **kwargs)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 259, in _save
self.insert()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 207, in insert
self.set_new_name()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 325, in set_new_name
set_new_name(self)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/naming.py", line 45, in set_new_name
frappe.throw(_("{0} is required").format(doc.meta.get_label(fieldname)))
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/meta.py", line 121, in get_label
return self.get_field(fieldname).label
AttributeError: 'NoneType' object has no attribute 'label'
Traceback (most recent call last):
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
return fn(*args, **newargs)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 22, in savedocs
doc.save()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
return self._save(*args, **kwargs)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 259, in _save
self.insert()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 207, in insert
self.set_new_name()
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/document.py", line 325, in set_new_name
set_new_name(self)
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/naming.py", line 45, in set_new_name
frappe.throw(_("{0} is required").format(doc.meta.get_label(fieldname)))
File "/Users/kickapoo/Dev/frappe-dev/frappe-bench/apps/frappe/frappe/model/meta.py", line 121, in get_label
return self.get_field(fieldname).label
AttributeError: 'NoneType' object has no attribute 'label'
Right now I am trying to debug in frappe/model/meta.py