Using: Community v11.0
Issue: I have broken access to the modules that use the partner/contact Model after attempting to add External ID of a customer as a new Field to the Contact model.
What I am seeing: Any time when trying to access Sales or Purchases I get a Server Error. I have copied the output to the bottom of this page.
What I did to cause this issue: I was trying to add a new field in Developer Mode. In particular I was attempting to follow the details on this following thread:
https://www.odoo.com/forum/help-1/question/how-can-i-show-a-record-s-external-id-in-a-list-view-i-also-want-users-to-be-able-to-search-for-records-using-this-field-146080
I was attempting to add a new field that would reference the External ID of the customer. I followed the example using 'Contact' as the Model instead of what was shown 'View'. When I originally got an error for not having filled out the Dependency field, I used 'id'. The image I've attached shows what I input. As soon as I attempted to save this - it failed and I began getting the above errors.
What I have tried to do: I have searched for that field (in case it was created) in order to delete it - but can't find anything that looks like it in the list of fields. I don't know what else to do - I just want to undo what I did with the field creation dialog. I've also looked at the error output - but I'm not seeing anything that is indicates where I have to go to fix the issue.
What I inputted to cause the issue:
Just want to get back to where the system was before I made this mistake. Any help provided is greatly appreciated!
Here is a sample of the error output I get when clicking on the Sales module link: