添加功能

This commit is contained in:
李鹏宇
2026-04-23 10:31:33 +08:00
parent faa8303fcf
commit ad709a5310
@@ -513,7 +513,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
"node_btn_name": "0",
"node_btn_id": self.node_btn_id.id,
"approval_state": "2", # 已完成
"lase_click_date": fields.Datetime.now() + timedelta(hours=8),
"lase_click_date": fields.Datetime.now(),
"comment": self.comment,
})
else:
@@ -521,7 +521,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
"comment": self.comment,
"approval_state": "2", # 已完成
'document_ids': [(6, 0, self.document_ids.ids)],
"lase_click_date": fields.Datetime.now() + timedelta(hours=8)
"lase_click_date": fields.Datetime.now()
})
if current_node_log.node_btn_name == '3':
other_node_logs = self.sudo().env["soong.workflow.log"].search(