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/loading.py
migrations.migrate_module(package, 'end')
        
        if processed_modules:
            env = api.Environment(cr, SUPERUSER_ID, {})
            cr.execute("""select model,name from ir_model where id NOT IN (select distinct model_id from ir_model_access)""")
            for (model, name) in cr.fetchall():
                if model in registry and not registry[model]._abstract and not registry[model]._transient:
                    _logger.warning('The model %s has no access rules, consider adding one. E.g. access_%s,access_%s,model_%s,,1,0,0,0',
                        model, model.replace('.', '_'), model.replace('.', '_'), model.replace('.', '_'))
            
            
            cr.execute("""select distinct mod.model, mod.name from ir_model_access acc, ir_model mod where acc.model_id = mod.id""")
            for (model, name) in cr.fetchall():
                if model in registry and registry[model]._transient:
                    _logger.warning('The transient model %s (%s) should not have explicit access rules!', model, name)
            cr.execute("SELECT model from ir_model")
            for (model,) in cr.fetchall():
                if model in registry:
                    env[model]._check_removed_columns(log=True)
                elif _logger.isEnabledFor(logging.INFO):    
                    _logger.warning("Model %s is declared but cannot be loaded! (Perhaps a module was partially removed or renamed)", model)
            
            env['ir.model.data']._process_end(processed_modules)
        for kind in ('init', 'demo', 'update'):
            tools.config[kind] = {}
        cr.commit()
        
        if update_module: