SOLUTION
No, the accountant was not correct in doing so.
Reason: Since the new partner has brought his share of goodwill in cash against self-generated goodwill, it cannot be recognised in the books of account. Only purchased goodwill can be recognised in the books of account as per AS-26.