Hello, Please help. I have this annoying error when I try to inherit the res.partner and create a field inside it:
class SampleSomething(models.Model):
_inherit = 'res.partner'
something = fields.Char(string='Sample')
I got this error:
psycopg2.errors.UndefinedColumn: column res_partner.something does not exist
LINE 1: ...res_partner"."region_contact" as "region_contact","res_partn...
It seems like it's querying the defined field but it should not be the odoo's default behavior when defining/adding a field, instead it should be migrating because I'm adding a new field. Any help will be highly appreciated. Thanks in advance.