This may help for overriding default functionality How to override method in frappe? - #4 by revant_one