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):


""" A mapping from database names to registries. """
        size = config.get('registry_lru_size', None)
        if not size:
            
            if os.name != 'posix':
                
                size = 42
            else:
                
                
                avgsz = 15 * 1024 * 1024
                size = int(config['limit_memory_soft'] / avgsz)
        return LRU(size)
    def __new__(cls, db_name):
        """ Return the registry for the given database name."""
        with cls._lock:
            try:
                return cls.registries[db_name]
            except KeyError:
                return cls.new(db_name)
            finally:
                
                
                threading.current_thread().dbname = db_name
    @classmethod
    def new(cls, db_name, force_demo=False, status=None, update_module=False):