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: from openerp.addons.account.tests.account_test_classes import AccountingTestCase
  
  class TestAccountValidateAccount(AccountingTestCase):
  
      def test_account_validate_account(self):
          account_move_line = self.env['account.move.line']
          account_cash = self.env['account.account'].search([('user_type_id.type', '=', 'liquidity')], limit=1)
          journal = self.env['account.journal'].search([('type', '=', 'bank')], limit=1)
  
          company_id = self.env['res.users'].browse(self.env.uid).company_id.id
  
          # create move
          move = self.env['account.move'].create({'name': '/',
              'ref':'2011010',
              'journal_id': journal.id,
              'state':'draft',
              'company_id': company_id,
          })
          # create move line
          account_move_line.create({'account_id': account_cash.id,
              'name': 'Basic Computer',
              'move_id': move.id,
          })
  
          # create another move line
          account_move_line.create({'account_id': account_cash.id,
              'name': 'Basic Computer',
              'move_id': move.id,
          })
  
          # check that Initially account move state is "Draft"
          self.assertTrue((move.state == 'draft'), "Initially account move state is Draft")
  
          # validate this account move by using the 'Post Journal Entries' wizard
          validate_account_move = self.env['validate.account.move'].with_context(active_ids=move.id).create({})
  
          #click on validate Button
          validate_account_move.with_context({'active_ids': [move.id]}).validate_move()
  
          #check that the move state is now "Posted"
          self.assertTrue((move.state == 'posted'), "Initially account move state is Posted")
  