There are special rules with regards to the filing of a final tax return and depending on the complexities there may be a T3 Estate Return required. Please see https://www.canada.ca/en/revenue-agency/services/forms-publications/publications/t4011/preparing-returns-deceased-persons-2016.html