I have overriden a whitelisted method using the following code. Most of the time this patch does not work. We have to bench migrate after the server update to reflect it. Does anyone faced this issue on frappe version 15.
override_whitelisted_methods = {
"hrms.hr.doctype.expense_claim.expense_claim.get_expense_claim_account_and_cost_center": "custom_app.custom_app.custom.expense_claim.get_expense_claim_default_account"
}```