Override whitelisted method in process payroll

Hi all,

I have to implement payroll.
My problem is that in my company payroll date is 23-22 of the month but in the current erpnext payroll the process is from 1-31 of the month.
I am trying to override the method get_month_details() in process payroll with my custom method (in a custom app) but it is not getting executed.
How can I implement it?

1 Like

following .