hunk.code_window:         <!--Manage the job_id to get in hr.applicant-->
       <record id="hr.job_developer" model="hr.job">
           <field name="state">recruit</field>
           <field name="no_of_recruitment">4</field>
           <field name="survey_id" ref="recruitment_form"/>
           <field name="stage_ids" eval="[(6, 0, [ref('stage_job1'), ref('stage_job2'), ref('stage_job3'), ref('stage_job4'), ref('stage_job5'), ref('stage_job6')])]"/>
       </record>
       <record id="hr.job_ceo" model="hr.job">
           <field name="survey_id" ref="recruitment_form"/>
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:         <field name="stage_ids" eval="[(6, 0, [ref('stage_job1'), ref('stage_job2'), ref('stage_job3'), ref('stage_job4'), ref('stage_job5')])]"/>
  
hunk.file_path: addons/hr_recruitment/data/hr_recruitment_demo.xml
hunk.type: replace
file: -
    I set a new sale team (with Marketing at parent) giving access rights of salesman.
  -
    !context
      uid: 'crm_res_users_salesmanager'
  -
    !python {model: crm.lead}: |
      team_id = self.pool.get('crm.team').create(cr, uid, {'name': "Phone Marketing", 'parent_id': ref("sales_team.crm_team_1")})
      self.write(cr, uid, [ref("crm_case_1")], {'team_id': team_id})
  -
    Salesman check unqualified lead .
  -
    !assert {model: crm.lead, id: crm.crm_case_1, string: Lead is in new stage}:
      - stage_id.sequence == 1
  