But when ajax request executes(frappe.call function), I take this error:
Your resource you are looking for is not available
All path have been written correctly (i tried execute it by bench execute <path.to.method> and all correctly executed). Which reason could be there? How I can fix it? I am ready share all necessary information
I have access to doctype. I think the problem is, that frappe.call can’t see the function., Because if i leave only print('hello') function will not execute too