The correct option is B all partners
If at time of retirement of a partner, goodwill appear in the balance sheet of a firm, it is written of by debiting all the partners capital accounts in their old profit sharing ratio and crediting the goodwill account.