Impacted versions: 11.0

Steps to reproduce: Uninstall hr_timesheet

Current behavior: Project --> Reporting --> Task Analysis
![](https://image.prntscr.com/image/BH5ZQxUMTjqzCq4B8U1yFA.png)

Expected behavior: Report Should be there.

Video/Screenshot link (optional):


""" Register a function to call at the end of :meth:`~.init_models`. """
        self._post_init_queue.append(partial(func, *args, **kwargs))
    def init_models(self, cr, model_names, context):
        """ Initialize a list of models (given by their name). Call methods
            ``_auto_init`` and ``init`` on each model to create or update the
            database tables supporting the models.
            The ``context`` may contain the following items:
             - ``module``: the name of the module being installed/updated, if any;
             - ``update_custom_fields``: whether custom fields should be updated.
        """
        if 'module' in context:
            _logger.info('module %s: creating or updating database tables', context['module'])
        env = odoo.api.Environment(cr, SUPERUSER_ID, context)
        models = [env[model_name] for model_name in model_names]
        for model in models:
            model._auto_init()
            model.init()
        while self._post_init_queue: