Try ERPNext Buy Support Partners Foundation

Error creating New Patient

Hi, I have this problem when trying to create new patient. Not sure what is the error referring to. Appreciate some help.

Error Report:

Traceback (most recent call last):
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/app.py”, line 60, in application
response = frappe.api.handle()
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 61, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 1041, in call
return fn(*args, **newargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/client.py”, line 185, in save
doc.save()
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 272, in save
return self._save(*args, **kwargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 295, in _save
self.insert()
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 253, in insert
self.run_method(“after_insert”)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 787, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 1058, in composer
return composed(self, method, *args, **kwargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 781, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/erpnext/erpnext/healthcare/doctype/patient/patient.py”, line 17, in after_insert
create_customer(self)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/erpnext/erpnext/healthcare/doctype/patient/patient.py”, line 86, in create_customer
“customer_type”: “Individual”
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 739, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 68, in get_doc
controller = get_controller(doctype)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 49, in get_controller
module = load_doctype_module(doctype, module_name)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 196, in load_doctype_module
app = get_module_app(module)
File “/home/lll_svr_02/erpnext/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 219, in get_module_app
return frappe.local.module_app[scrub(module)]
KeyError: ‘billing___selling’