Field 'is_blacklisted' used in attributes must be present in view but is missing

Quick fix for the error

Installing a module and getting the:

"Field 'is_blacklisted' used in attributes must be present in view but is missing:

 - 'is_blacklisted' in attrs="{'invisible': [('is_blacklisted', '=', False)]}""

Sometimes answer is not in the module. It is natural to look inside of the module or even in the original view to find a "Is_blacklisted" field. However, this time you won't find it. It is because it is not a problem with field, it is problem with system user and its configuration. In this tutorial I am going to show you how to solve the error Field 'is_blacklisted' used in attributes must be present in view but is missing.

Odoo • Image and Text

Activate developer mode

As usually - go to the settings and activate the developers mode,

Odoo • Image and Text

Open users and set filter to display inactive

Now you need to access the __system__ user (as on the screenshot)

Odoo • Image and Text

Set OdooBot as an internal user

Now restart and problem should be fixed. If not check the modules you installed recently or try to update Odoo from GitHub (this should overwrite the mixed up code).