<commit_before>-
  Create a user as 'HR Recruitment Officer'
-
  !record {model: res.users, id: res_users_hr_recruitment_officer}:
    company_id: base.main_company
    name: HR Recruitment Officer
    login: hrro
    password: <PASSWORD>
    email: <EMAIL>
-
  I added groups for HR Recruitment Officer.
-
  !record {model: res.users, id: res_users_hr_recruitment_officer}:
    groups_id:
      - base.group_hr_user
-
  In Order to test process of Recruitment so giving HR officer's rights,
-
  !context
    uid: 'res_users_hr_officer'
-
  An applicant is interested in the job position. So he sends a resume by email.
-
  !python {model: mail.thread}: |
    request_file = open(openerp.modules.module.get_module_resource('hr_recruitment','test', 'resume.eml'),'rb')
    request_message = request_file.read()
    self.message_process(cr, uid, 'hr.applicant', request_message)
-<commit_msg>[IMP]improve code<commit_after>-
  Create a user as 'HR Recruitment Officer'
-
  !record {model: res.users, id: res_users_hr_recruitment_officer}:
    company_id: base.main_company
    name: HR Recruitment Officer
    login: hrro
    password: <PASSWORD>
    email: <EMAIL>
-
  I added groups for HR Recruitment Officer.
-
  !record {model: res.users, id: res_users_hr_recruitment_officer}:
    groups_id:
      - base.group_hr_user
-
  In Order to test process of Recruitment so giving HR officer's rights,
-
  !context
    uid: 'res_users_hr_recruitment_officer'
-
  An applicant is interested in the job position. So he sends a resume by email.
-
  !python {model: mail.thread}: |
    request_file = open(openerp.modules.module.get_module_resource('hr_recruitment','test', 'resume.eml'),'rb')
    request_message = request_file.read()
    self.message_process(cr, uid, 'hr.applicant', request_message)
-
{'fraction_non_alphanumeric': 0.10356347438752785, 'fraction_numerical': 0.0, 'mean_word_length': 3.9916666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5894276', 'n_tokens_mistral': 617, 'n_tokens_neox': 592, 'n_words': 163}