So my problem is that i sometimes get the error "field does not exist in model" when i delete a field in both the python file and the view. I checked that there is no remaining reference to this field and the error i get says somewhere inside the view where i deleted the field. It seems that somehow the old view gets used while the new python file is used to start my odoo server.
I usually solve this error by creating a new database where everything runs fine but i want to solve it without creating a new database. I already tried to execute the reset_arch() function on the view, tried to unlink it with unlink(), delete the view and the field in the database but nothing worked.
Is there anything that could solve this?