Overrides method does not work with me


when i create the salary slip and select the employee i must see the msg
is there any thing i missed or i made it by mistake

the override of validation method worked
but i want to override the get_additional_salaries method that is defined here and called there and i want to override when salary slip called it
i override it in additional_salary is this true or false?
or that is the new idea that we want it?

Check the vidoes:

Reference: How to use doctypes from erpnext to custom app - #2 by NCP

1 Like

i saw the vidoes:
but the no one like my case
my case may like first video but the method does not
Whitelisted Method is just method
and the thired video about Doctype Class Method
but my case like first video i want to override the method that the Doctype Class Method called it

i merge both videos and its worked with me


like this