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

Pro-绩效流程部门负责人节点设置

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202101
    • S-搜款网-Y2020051
    • 搜款网
    • 人力资源等
    • 隐藏

      result=False
      department1 = self.employee_id.department_id
      department = self.employee_id.department_id
      while department1:
      if department1.code in ['SKW007','SKW008']:
      while department.parent_department_id.parent_department_id.parent_department_id:
      department = department.parent_department_id
      if department and department.manager_id:
      result = department.manager_id.user_id
      break
      else:
      department1 = department1.parent_department_id
      if not result:
      while department.parent_department_id.parent_department_id:
      department = department.parent_department_id
      if department and department.manager_id:
      result = department.manager_id.user_id

      显示
      result=False department1 = self.employee_id.department_id department = self.employee_id.department_id while department1: if department1.code in ['SKW007','SKW008'] : while department.parent_department_id.parent_department_id.parent_department_id: department = department.parent_department_id if department and department.manager_id: result = department.manager_id.user_id break else: department1 = department1.parent_department_id if not result: while department.parent_department_id.parent_department_id: department = department.parent_department_id if department and department.manager_id: result = department.manager_id.user_id

      department = self.employee_id.department_id
      while department.parent_department_id.parent_department_id:
      department = department.parent_department_id
      if department and department.manager_id:
      result = department.manager_id.user_id

      目前是二级部门负责人进行审批,需要进行调整。
      调整为:
      01-客服部
      01-运营部
      这2个部门下的部门由三级部门负责人进行审批;
      其他部门维持不变,由二级部门负责人进行审批。

            wenqiang.liu 刘文强
            jiacheng.liang 梁家承
            表决:
            0 为这个问题表决

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