I created one2many in the hr.employee object like this
hr_leave_history_ids = fields.One2many('hr.leave.history','employee_id','Paid Leave History',compute='_compute_o2m_field')
in method _compute_o2m_field updating the field values like this self.hr_leave_history_ids = [(0,0,values)]
here values is a dictionary consists of 'hr.leave.history' object fields and values
but its not updating in the Hr form and not even creating the records in 'hr.leave.history' table
plz help me out