So basically only thing I did was to inherit a model and then add a new field like this:
I restarted my server many times.
But for some reason I'm still getting an error:
I'm not even using this variable anywhere else. It is just that one line.
I have no idea what is wrong. I looks like some kind of bug in Odoo. I was declaring new fields like this many times before and now it does not work for some reason. WHY?
I even used the same code on different Odoo instance and it worked without any problems.
Working on Odoo13.
Edit: I cleared python cache and it seems to be working. But I still don't know why in this particular case it didn't work the usual way - just by restarting server.