添加功能
This commit is contained in:
@@ -442,7 +442,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
|
||||
has_comment = bool(self.comment and self.comment.strip())
|
||||
if not has_comment_note and not has_comment:
|
||||
raise UserError('请填写备注')
|
||||
if not self.employee_ids:
|
||||
if not self.employee_ids and self.trans_link_id:
|
||||
raise UserError("必须有转交人员")
|
||||
self_node_id = record_id.workflow_id.node_ids.search(
|
||||
[('name', '=', record_id.state), ('workflow_id', '=', record_id.workflow_id.id)])
|
||||
|
||||
Reference in New Issue
Block a user