上传的图像用于项目: 'CST技术支持'
  1. CST技术支持
  2. SLAL2-1770

Pro-e签宝易应用自动创建入职记录

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: High High
    • 202101
    • 202101
    • E-e签宝-OP-Y202005001
    • e签宝测试站
    • 基础通用功能
    • 隐藏

      vals =

      {'last_name': self.x_lastname or '', 'first_name': self.x_firstname or '', 'name':self.x_employee_name or '', 'estimated_hire_date': self.x_hiredate or None, 'x_zzrq': self.x_zzrq or None, 'username': self.x_username or '', 'plan_id': self.x_lian.id or None, 'email': self.x_email or '', 'phone_number': self.x_mobilephone or '', 'department_id': self.x_department.id, 'position_id': self.x_position.id, 'legal_entity_id': self.x_legal_entity.id, 'employee_type': self.x_employee_type.id, 'supervisor_id': self.x_supervisor.id, 'x_gszd': self.x_gszd or False, 'job_grade_id': self.x_job_grade.id or None, 'job_level_id': self.x_job_level.id or None, 'x_gzcss': self.x_gzcss.id or None, 'x_gzcsss': self.x_gzcsss.id or None, 'sign_legal_entity_id': self.x_sign_legal_entity.id or None, 'contract_agreement_id': self.x_contract_agreement.id or None, 'contract_category_id': self.x_contract_category.id or None, 'lang_id': self.x_lang.id or None, 'contract_date_start': self.x_contract_date_start or None, 'contract_date_end': self.x_contract_date_end or None, 'trial_date_start': self.x_trial_date_start or None, 'trial_date_end': self.x_trial_date_end or None}

      env['pre.hire'].create(vals)

      显示
      vals = {'last_name': self.x_lastname or '', 'first_name': self.x_firstname or '', 'name':self.x_employee_name or '', 'estimated_hire_date': self.x_hiredate or None, 'x_zzrq': self.x_zzrq or None, 'username': self.x_username or '', 'plan_id': self.x_lian.id or None, 'email': self.x_email or '', 'phone_number': self.x_mobilephone or '', 'department_id': self.x_department.id, 'position_id': self.x_position.id, 'legal_entity_id': self.x_legal_entity.id, 'employee_type': self.x_employee_type.id, 'supervisor_id': self.x_supervisor.id, 'x_gszd': self.x_gszd or False, 'job_grade_id': self.x_job_grade.id or None, 'job_level_id': self.x_job_level.id or None, 'x_gzcss': self.x_gzcss.id or None, 'x_gzcsss': self.x_gzcsss.id or None, 'sign_legal_entity_id': self.x_sign_legal_entity.id or None, 'contract_agreement_id': self.x_contract_agreement.id or None, 'contract_category_id': self.x_contract_category.id or None, 'lang_id': self.x_lang.id or None, 'contract_date_start': self.x_contract_date_start or None, 'contract_date_end': self.x_contract_date_end or None, 'trial_date_start': self.x_trial_date_start or None, 'trial_date_end': self.x_trial_date_end or None} env ['pre.hire'] .create(vals)

      在预入职时,用【易应用】offer审批表单正式员工,审批通过后自动创建一条预入职的入职记录。里面的基本信息需要从易应用回写至预入职

        1. image.png
          47 kB
          胡易菲
        2. screenshot-1.png
          127 kB
          胡易菲

            wenqiang.liu 刘文强
            huyf 胡易菲
            表决:
            0 为这个问题表决

              创建日期:
              已更新:
              已解决: