Impacted versions: 11
Runbot Link: [http://334767-11-0-6ad1a3.runbot12.odoo.com/web?debug=1#view_type=kanban&model=ir.module.module&action=31](http://334767-11-0-6ad1a3.runbot12.odoo.com/web?debug=1#view_type=kanban&model=ir.module.module&action=31)
Steps to reproduce: Install module which has Website as Dependency (Survey)
Uninstall Website module --> Re-Install Website module
Current behavior:
```
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: website - website]
```
Expected behavior: Successful Installation

Video/Screenshot link (optional):


from odoo import api, models
class IrModel(models.Model):
    _inherit = 'ir.model'
    @api.multi
    def unlink(self):
        self.env.cr.execute(
            "DELETE FROM ir_model_fields WHERE name='website_id'")
        return super(IrModel, self).unlink()