Crash import error when clicking save

Hi all, I am getting import error when I try to save a custom doctype Customer. I have a child table Customer Profile, the import error


File “/home/frappeuser/frappe-bench/apps/frappe/frappe/init.py”, line 579, in get_doc
return frappe.model.document.get_doc(arg1, arg2)
File “/home/frappeuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 45, in get_doc
controller = get_controller(doctype)
File “/home/frappeuser/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 41, in get_controller
raise ImportError, doctype
ImportError: Customer Profile


now I added include statement path/path/doctype/customer_profile/customer_profile.js thinking that is is looking for customer_profile child table. any help…

ooops my fault. Left some code in customer_profle.py was the cause of the problem.