AttributeError: ‘module’ object has no attribute '

I am getting error while selecting appraisal template:

Traceback (most recent call last):
File “/home/erp/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/erp/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/erp/apps/frappe/frappe/handler.py”, line 30, in execute_cmd
method = get_attr(cmd)
File “/home/erp/apps/frappe/frappe/handler.py”, line 114, in get_attr
method = frappe.get_attr(cmd)
File “/home/erp/apps/frappe/frappe/init.py”, line 859, in get_attr
return getattr(get_module(modulename), methodname)
AttributeError: ‘module’ object has no attribute 'fetch_appraisal_template

please any one have idea.

Please help me any one. i am stack on this issue

try calling your method from a different path

Hello @namgyal
What is the version you are running?
And what exactly you are doing to get this error?
Because you said that u r getting this error when selecting appraisal template, where do you select this template?
Regards
Bilal

@kipusy @namgyal check your calling method in js (eg:
method: “erpnext.manufacturing.doctype.bom.bom.msgprint_test”,

if its not working , try to give bench command after python code
:- bench reload-doctype doctype_name (eg: bench reload_doctype bom) and then
bench restart

i hope it will work