[IMP] unlink ir.action.todo which are related to actions which will be deleted

In order to module uninstall work properly
--> unlink ir.action.todo which are related to actions which will be deleted. on-delete cascade will not work on ir.actions.actions so we will need to do it manually
--> improve need_action_data method also to avoid error.