Hi !
I created x_aaa data model in Studio
Turns out, it should have been x_bbb.
How can I change this? Keeping x_aaa will be accepting a total incoherence that'll be confusing for everyone.
Here's what I tried:
1) copied table x_aaa into x_bbb
2) changed the technical name of the data model using SQL
3) found out which tables had a char() field called "model", "res_model", "model_name" and replaced "x_aaa" for "x_bbb"
4>) changed references in ir_model_data
However, when accessing data (or the data model record), I always get this:
File "/home/odoo/src/odoo/odoo/registry.py", line 209, in __getitem__
return self.models[model_name]
KeyError: 'x_bbb'
Does anyone know what still needs to be done?