Thank you for your reply but that is not the solution.
You are focusing in something not important because at the end I will be doing what I think will be the best for the client. It is not related to how much money is going to pay me. It is relate to how much I will be able to save him from penalty. One more time the question
Should I write to irs about the wrong filing or should I amend first the 1040 and if I do Amend what do o do with the 1065 so they know it was not properly filed and needs to be delete or amend.l and please , do not tell me to tell the client to go somewhere else. That is not professional