What is the position in case of a sale of a house owned by a firm but which was occupied by partners for residential purposes?

What is the position in case of a sale of a house owned by a firm but which was occupied by partners for residential purposes?

The firm cannot claim the benefit u/s 54. However, if the property owned by a firm was occupied by partners for residence and on dissolution of the firm, partners sell their share of the property, they may exercise the option of benefit under this section.