Kindly Help me, i am new in erpnext and dont know how to remove this error
Can you please share more details such as an error trace? An internal server error normally does not occur on deletion of company transaction (more likely some server side code change). Is it a local VM? Was there another change involved? Which version are you running?