How to disable the action in sales invoice

Please check the reference.