i was trying to use hook and defined a function, but error is coming that i am not able to figure out.
please some see what is the issue
Please add the below line in the utils file
from frappe import _