title: how to pass values from a one2many field to another field in different model of same form? form view image given below (ial)
body: <p><a href="https://i.stack.imgur.com/2MOPY.png" rel="nofollow noreferrer">ial</a></p>
  
  <pre><code>one2many field name: survey_request_ids
  model of one2many field : hr_evaluation.evaluation
  Field name of 'Interviewer' inside one2many : user_id
  model of 'Interviewer' inside one2many : hr.evaluation.interview
  </code></pre>
  
  <p>I want to create a new field 'Interviewer' below 'Appraisal Deadline'
  which will have values from the below field 'Interviewer' which is in a one2many.</p>
  
  <p>I tried like these,</p>
  
  <pre><code>from openerp import models,fields,api
  
  class hr_evaluation_interview(models.Model):
      _inherit = 'hr.evaluation.interview'
  
      @api.onchange('user_id')
      def _onchange_user_id(self):
          rec = self.env['hr_evaluation.evaluation'].search([('id','=', 
  self.evaluation_id.id)])
          rec.update({
              'interviewer_ids': [(4,self.user_id.id)]
          })
  
  
  class hr_evaluation_inherit(models.Model):
      _inherit = 'hr_evaluation.evaluation'
  
      _columns = {
          'interviewer_ids': fields.many2many('res.users', 
  string='Interviewer',readonly=True)
      }
  </code></pre>