Impacted versions: 11.0

Steps to reproduce: Uninstall pos_sale

Current behavior: Sale --> Reporting --> All Channels Sales Order
![](https://image.prntscr.com/image/tk6hMEBIRDiX_8NoC0p94Q.png)

Expected behavior: Report should be there

Video/Screenshot link (optional):


odoo/modules/registry.py
""" Return a new cursor for the database. The cursor itself may be used
            as a context manager to commit/rollback and close automatically.
        """
        cr = self.test_cr
        if cr is not None:
            
            
            
            
            cr.acquire()
            return cr
        return self._db.cursor()
class DummyRLock(object):
    """ Dummy reentrant lock, to be used while running rpc and js tests """
    def acquire(self):
        pass
    def release(self):
        pass
    def __enter__(self):
        self.acquire()
    def __exit__(self, type, value, traceback):
        self.release()