I would like to update
address_id = fields.Many2one ( comodel_name = 'res.partner' )
to the following:
address_id = fields.Many2one ( comodel_name = 'res.company' )
But it will raise the Following error:
insert or update on table "hr_employee" violates foreign key constraint "hr_employee_address_id_fkey"