申请人为部门负责人,且条件为特殊
result = False
if self.employee_id.id == self.department_id.manager_id.id and self.x_special=='BD001':
result = True
(申请人为部门负责人或者岗位编码=G64),且条件为特殊的
result = False
if (self.employee_id.id == self.department_id.manager_id.id or self.employee_id.job_info_id.position_id.code=='G64') and self.x_special='BD001':
result = True
申请人为部门负责人,且条件为特殊
result = False
if self.employee_id.id == self.department_id.manager_id.id and self.x_special=='BD001':
result = True
(申请人为部门负责人或者岗位编码=G64),且条件为特殊的
result = False
if (self.employee_id.id == self.department_id.manager_id.id or self.employee_id.job_info_id.position_id.code=='G64') and self.x_special='BD001':
result = True