Error in update ERPNext

Hi @nilpatel42:

Seems you’ve made changes directly on code …
See this:

Hope this helps.