我想更新
address_id = fields.Many2one ( comodel_name = 'res.partner' )
到以下:
address_id = fields.Many2one ( comodel_name = 'res.company' )
但是它将引发以下错误:
insert or update on table "hr_employee" violates foreign key constraint "hr_employee_address_id_fkey"