How to override method in erpnext

how to override method in erpnext in custom app?

Try this,