添加功能

This commit is contained in:
李鹏宇
2025-12-11 11:56:08 +08:00
parent 24b95baa7e
commit b948258bfa
@@ -69,7 +69,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
@api.constrains('employee_ids')
def _check_employee_ids(self):
if not self.employee_ids and self.node_btn_name != '结束':
if not self.employee_ids and self.node_btn_name == '转交' :
raise ValidationError("必须有转交人员")
@api.depends('comment_note_id', 'comment_note')